From 5a21cbf853d5dae05645354bf87f1f8f45f8ddb8 Mon Sep 17 00:00:00 2001 From: Adam Bradley Date: Tue, 12 Apr 2016 09:39:18 -0500 Subject: [PATCH] docs(content): remove unused docs --- ionic/components/content/content.ts | 23 ----------------------- 1 file changed, 23 deletions(-) diff --git a/ionic/components/content/content.ts b/ionic/components/content/content.ts index bae3d39063..72e3e35ab0 100644 --- a/ionic/components/content/content.ts +++ b/ionic/components/content/content.ts @@ -88,29 +88,6 @@ export class Content extends Ion { /** * @private - * Adds the specified scroll handler to the content' scroll element. - * - * ```ts - * @Page({ - * template: `` - * )} - * export class MyPage{ - * constructor(app: IonicApp){ - * this.app = app; - * } - * // Need to wait until the component has been initialized - * ngAfterViewInit() { - * // Here 'my-content' is the ID of my ion-content - * this.content = this.app.getComponent('my-content'); - * this.content.addScrollListener(this.myScroll); - * } - * myScroll() { - * console.info('They see me scrolling...'); - * } - * } - * ``` - * @param {Function} handler The method you want perform when scrolling - * @returns {Function} A function that removes the scroll handler. */ addScrollListener(handler) { return this._addListener('scroll', handler);