mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-08-23 05:58:26 +08:00
chore(components): ngmodule updates
This commit is contained in:
@ -77,11 +77,11 @@ import { Platform } from '../../platform/platform';
|
||||
*
|
||||
* ```ts
|
||||
* toggleLeftMenu() {
|
||||
* this.menu.toggle();
|
||||
* this.menuCtrl.toggle();
|
||||
* }
|
||||
*
|
||||
* toggleRightMenu() {
|
||||
* this.menu.toggle('right');
|
||||
* this.menuCtrl.toggle('right');
|
||||
* }
|
||||
* ```
|
||||
*
|
||||
@ -101,8 +101,8 @@ import { Platform } from '../../platform/platform';
|
||||
*
|
||||
* ```ts
|
||||
* enableAuthenticatedMenu() {
|
||||
* this.menu.enable(true, 'authenticated');
|
||||
* this.menu.enable(false, 'unauthenticated');
|
||||
* this.menuCtrl.enable(true, 'authenticated');
|
||||
* this.menuCtrl.enable(false, 'unauthenticated');
|
||||
* }
|
||||
* ```
|
||||
*
|
||||
|
Reference in New Issue
Block a user