docs(content): fix ion-content scroll event listener example

Function renamed in 91df5f97ee
This commit is contained in:
Tom Sundstrom
2016-03-03 10:44:16 +02:00
parent 9c1db87a6c
commit 6bee667a6d

View File

@@ -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...');