mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-08-23 14:01:20 +08:00
@ -137,7 +137,7 @@ import { ViewController } from '../../navigation/view-controller';
|
|||||||
*
|
*
|
||||||
*```ts
|
*```ts
|
||||||
* switchTabs() {
|
* switchTabs() {
|
||||||
* this.navCtrl.parent.switch(2);
|
* this.navCtrl.parent.select(2);
|
||||||
* }
|
* }
|
||||||
*```
|
*```
|
||||||
* @demo /docs/v2/demos/src/tabs/
|
* @demo /docs/v2/demos/src/tabs/
|
||||||
|
Reference in New Issue
Block a user