mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2026-03-13 10:22:08 +08:00
docs(content): update doc info
This commit is contained in:
@@ -37,6 +37,9 @@ export class Content extends Ion {
|
||||
private _onScroll: any;
|
||||
private _scrollTo: ScrollTo;
|
||||
|
||||
/**
|
||||
* @private
|
||||
*/
|
||||
scrollElement: HTMLElement;
|
||||
|
||||
/**
|
||||
@@ -123,6 +126,12 @@ export class Content extends Ion {
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Call a method when scrolling has stopped
|
||||
*
|
||||
* @param {Function} callback The method you want perform when scrolling has ended
|
||||
*/
|
||||
onScrollEnd(callback) {
|
||||
let lastScrollTop = null;
|
||||
let framesUnchanged = 0;
|
||||
|
||||
Reference in New Issue
Block a user