mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-08-22 21:48:42 +08:00
docs(bootstrap): update to use ionicBootstrap
This commit is contained in:
@ -12,14 +12,16 @@ import {isPresent} from '../../util/util';
|
||||
* Access various features and information about the current view.
|
||||
* @usage
|
||||
* ```ts
|
||||
* import {Page, ViewController} from 'ionic-angular';
|
||||
* @Page....
|
||||
* export class MyPage{
|
||||
* constructor(viewCtrl: ViewController){
|
||||
* this.viewCtrl = viewCtrl;
|
||||
* }
|
||||
* }
|
||||
* ```
|
||||
* import {Component} from '@angular/core';
|
||||
* import {ViewController} from 'ionic-angular';
|
||||
*
|
||||
* @Component({...})
|
||||
* export class MyPage{
|
||||
*
|
||||
* constructor(public viewCtrl: ViewController) {}
|
||||
*
|
||||
* }
|
||||
* ```
|
||||
*/
|
||||
export class ViewController {
|
||||
private _cntDir: any;
|
||||
|
Reference in New Issue
Block a user