mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-08-22 21:48:42 +08:00
demo(overlay): use injectable overlay controllers
This commit is contained in:
@ -448,7 +448,7 @@ export class NavController extends Ion {
|
||||
private present(enteringView: ViewController, opts?: NavOptions): Promise<any> {
|
||||
// deprecated warning: added beta.11 2016-06-27
|
||||
console.warn('nav.present() has been deprecated.\n' +
|
||||
'Please use inject the overlays controller and use the present method on the instance instead.');
|
||||
'Please inject the overlay\'s controller and use the present method on the instance instead.');
|
||||
return Promise.resolve();
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user