mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2026-03-13 10:22:08 +08:00
Merge pull request #5809 from sclausen/2.0
fix(infinitescroll): 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