mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-08-21 04:53:58 +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);
|
this._setListeners(shouldEnable);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
resetHighestY() {
|
||||||
|
this._highestY = 0;
|
||||||
|
}
|
||||||
|
|
||||||
private _setListeners(shouldListen: boolean) {
|
private _setListeners(shouldListen: boolean) {
|
||||||
if (this._init) {
|
if (this._init) {
|
||||||
if (shouldListen) {
|
if (shouldListen) {
|
||||||
|
Reference in New Issue
Block a user