fix(popTo): fix reference and tests

Closes #511
This commit is contained in:
Adam Bradley
2015-11-13 17:12:15 -06:00
parent d5ac78f7b0
commit 050b600940
6 changed files with 55 additions and 8 deletions

View File

@ -73,6 +73,18 @@ export class Content extends Ion {
}
}
onScrollEnd(callback) {
let timerId;
function debounce() {
timerId = setTimeout(() => {
}, 250);
}
this.addScrollEventListener(debounce);
}
/**
* Adds the specified touchmove handler to the content's scroll element.
* @param {Function} handler The touchmove handler.