mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2026-03-13 10:22:08 +08:00
docs(content): fix ion-content scroll event listener example
Function renamed in 91df5f97ee
This commit is contained in:
@@ -98,7 +98,7 @@ export class Content extends Ion {
|
||||
* ngAfterViewInit() {
|
||||
* // Here 'my-content' is the ID of my ion-content
|
||||
* this.content = this.app.getComponent('my-content');
|
||||
* this.content.addScrollEventListener(this.myScroll);
|
||||
* this.content.addScrollListener(this.myScroll);
|
||||
* }
|
||||
* myScroll() {
|
||||
* console.info('They see me scrolling...');
|
||||
|
||||
Reference in New Issue
Block a user