added method to reset _highestY

This commit is contained in:
sclausen
2016-03-11 11:56:57 +01:00
parent db66b3affc
commit b864dc4bee

View File

@ -220,6 +220,10 @@ export class InfiniteScroll {
this._setListeners(shouldEnable);
}
resetHighestY() {
this._highestY = 0;
}
private _setListeners(shouldListen: boolean) {
if (this._init) {
if (shouldListen) {