docs(content): remove unused docs

This commit is contained in:
Adam Bradley
2016-04-12 09:39:18 -05:00
parent 5ceb5df238
commit 5a21cbf853

View File

@@ -88,29 +88,6 @@ export class Content extends Ion {
/**
* @private
* Adds the specified scroll handler to the content' scroll element.
*
* ```ts
* @Page({
* template: `<ion-content id="my-content"></ion-content>`
* )}
* 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);