diff --git a/src/components/nav/view-controller.ts b/src/components/nav/view-controller.ts index 58bd232c882..9ab0bcde480 100644 --- a/src/components/nav/view-controller.ts +++ b/src/components/nav/view-controller.ts @@ -119,8 +119,9 @@ export class ViewController { /** * @private + * onDismiss(..) has been deprecated. Please use onDidDismiss(..) instead */ - onDismiss(callback: Function) { + private onDismiss(callback: Function) { // deprecated warning: added beta.11 2016-06-30 console.warn('onDismiss(..) has been deprecated. Please use onDidDismiss(..) instead'); this.onDidDismiss(callback);