Merge pull request #5693 from tomsun/scroll-listener-renaming

docs(content): fix ion-content scroll event listener example
This commit is contained in:
Adam Bradley
2016-03-03 06:19:05 -06:00

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