diff --git a/src/components/tabs/tabs.ts b/src/components/tabs/tabs.ts index f0d8724b31..47d69874b2 100644 --- a/src/components/tabs/tabs.ts +++ b/src/components/tabs/tabs.ts @@ -137,7 +137,7 @@ import { ViewController } from '../../navigation/view-controller'; * *```ts * switchTabs() { - * this.navCtrl.parent.switch(2); + * this.navCtrl.parent.select(2); * } *``` * @demo /docs/v2/demos/src/tabs/