selectedTab can be equal to integer getting from the user?

can I open the app on a tab that the user selected?
how to navigate to his input/value withthis.superTabs.slideTo(this.selectedTab);?

Thank you!