mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-11-09 08:09:32 +08:00
docs(nav-controller): add type to usage example (#11833)
This commit is contained in:
committed by
Brandy Carney
parent
7af93d23b8
commit
0624a77afe
@ -92,7 +92,7 @@ import { ViewController } from './view-controller';
|
|||||||
* })
|
* })
|
||||||
* export class MyApp {
|
* export class MyApp {
|
||||||
* @ViewChild('myNav') nav: NavController
|
* @ViewChild('myNav') nav: NavController
|
||||||
* public rootPage = TabsPage;
|
* public rootPage: any = TabsPage;
|
||||||
*
|
*
|
||||||
* // Wait for the components in MyApp's template to be initialized
|
* // Wait for the components in MyApp's template to be initialized
|
||||||
* // In this case, we are waiting for the Nav with reference variable of "#myNav"
|
* // In this case, we are waiting for the Nav with reference variable of "#myNav"
|
||||||
|
|||||||
Reference in New Issue
Block a user