mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-08-20 12:29:55 +08:00
added method to reset _highestY
This commit is contained in:
@ -220,6 +220,10 @@ export class InfiniteScroll {
|
||||
this._setListeners(shouldEnable);
|
||||
}
|
||||
|
||||
resetHighestY() {
|
||||
this._highestY = 0;
|
||||
}
|
||||
|
||||
private _setListeners(shouldListen: boolean) {
|
||||
if (this._init) {
|
||||
if (shouldListen) {
|
||||
|
Reference in New Issue
Block a user