diff --git a/src/components/tabs/tabs.ts b/src/components/tabs/tabs.ts index 5e723a98f5..c9ffdea69d 100644 --- a/src/components/tabs/tabs.ts +++ b/src/components/tabs/tabs.ts @@ -130,6 +130,16 @@ import { ViewController } from '../../navigation/view-controller'; * } *``` * + * You can also switch tabs from a child component by calling `select()` on the + * parent view using the `NavController` instance. For example, assuming you have + * a `TabsPage` component, you could call the following from any of the child + * components to switch to `TabsRoot3`: + * + *```ts + * switchTabs() { + * this.navCtrl.parent.switch(2); + * } + *``` * @demo /docs/v2/demos/src/tabs/ * * @see {@link /docs/v2/components#tabs Tabs Component Docs}