mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-08-22 21:48:42 +08:00
test(): update to public navCtrl convention
This commit is contained in:
@ -156,10 +156,10 @@ import { GestureController } from '../../gestures/gesture-controller';
|
||||
*
|
||||
* @Component({...})
|
||||
* export class MyPage {
|
||||
* constructor(private menu: MenuController) {}
|
||||
* constructor(public menuCtrl: MenuController) {}
|
||||
*
|
||||
* openMenu() {
|
||||
* this.menu.open();
|
||||
* this.menuCtrl.open();
|
||||
* }
|
||||
* }
|
||||
* ```
|
||||
|
Reference in New Issue
Block a user