mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-08-22 21:48:42 +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
|
||||
import { Component } from '@angular/core';
|
||||
import { Component, ViewChild } from '@angular/core';
|
||||
import { InfiniteScroll } from '@ionic/angular';
|
||||
|
||||
@Component({
|
||||
selector: 'infinite-scroll-example',
|
||||
|
Reference in New Issue
Block a user