mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-08-22 13:32:54 +08:00
docs(): update infiniteScroll example
Added import statements to make the angular typescript example easier to adopt for individual use cases.
This commit is contained in:

committed by
Mike Hartington

parent
4a43579239
commit
de51c840eb
@ -16,7 +16,8 @@
|
|||||||
```
|
```
|
||||||
|
|
||||||
```typescript
|
```typescript
|
||||||
import { Component } from '@angular/core';
|
import { Component, ViewChild } from '@angular/core';
|
||||||
|
import { InfiniteScroll } from '@ionic/angular';
|
||||||
|
|
||||||
@Component({
|
@Component({
|
||||||
selector: 'infinite-scroll-example',
|
selector: 'infinite-scroll-example',
|
||||||
|
Reference in New Issue
Block a user