mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-08-20 20:33:32 +08:00
fix(infinite-scroll): remove unused method
This commit is contained in:
@ -188,16 +188,6 @@ export class InfiniteScroll {
|
||||
// }
|
||||
}
|
||||
|
||||
/**
|
||||
* Pass a promise inside `waitFor()` within the `infinite` output event handler in order to
|
||||
* change state of infiniteScroll to "complete"
|
||||
*/
|
||||
@Method()
|
||||
waitFor(action: Promise<any>) {
|
||||
const enable = this.complete.bind(this);
|
||||
action.then(enable, enable);
|
||||
}
|
||||
|
||||
private canStart(): boolean {
|
||||
return (
|
||||
!this.disabled &&
|
||||
|
Reference in New Issue
Block a user