ionic-team / ionic-v1

The repo for Ionic 1.x. For the latest version of Ionic, please see https://github.com/ionic-team/ionic
Other
192 stars 187 forks source link

$ionicTabsDelegate.$getByHandle('my-handle').select(index) using id or name #281

Open jgw96 opened 7 years ago

jgw96 commented 7 years ago

From @brunoheringer on July 13, 2017 21:57

I am using $ionicTabsDelegate in my project Cordova with Ionic for manager tabs in my view. But, in the oficial documentation the orientation is to use for select a specific tab. (The index is int): '$ionicTabsDelegate.$getByHandle('my-handle').select(index)'

I would like to know if it is possible to use id or name.

Copied from original issue: ionic-team/ionic#12350