mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-08-20 04:14:21 +08:00
test(infiniteScroll): do not use setter for InfiniteScroll
This commit is contained in:
@ -6,10 +6,7 @@ import {App, Page, InfiniteScroll, NavController} from 'ionic-angular';
|
||||
templateUrl: 'main.html'
|
||||
})
|
||||
class E2EPage1 {
|
||||
@ViewChild(InfiniteScroll) set _infiniteScroll(val) {
|
||||
console.log('ViewChild')
|
||||
this.infiniteScroll = val
|
||||
}
|
||||
@ViewChild(InfiniteScroll) infiniteScroll: InfiniteScroll;
|
||||
items = [];
|
||||
enabled: boolean = true;
|
||||
|
||||
|
Reference in New Issue
Block a user