fix(infinite-scroll): remove unused method

This commit is contained in:
Manu Mtz.-Almeida
2018-08-24 21:16:12 +02:00
parent ac96705401
commit 926758e585
2 changed files with 0 additions and 14 deletions

View File

@ -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 &&