Notice: The Monaca & Onsen UI Community Forum is shutting down.

For Onsen UI bug reports, feature requests and questions, please use the Onsen UI GitHub issues page. For help with Monaca, please contact Monaca Support Team.

Thank you to all our community for your contributions to the forum. We look forward to hearing from you in the new communication channels.

Tabbar SetActiveTab from button in page



  • Hi,

    I’m trying to move to a different tab from a button within a tab (on angular2) - the example docs (https://onsen.io/v2/guide/angular2/) only seem to cover “navigator” and not “tabbar” - is there a way of getting the Tabbar object in a similar way to the example, and the run setActiveTab(X) from within my button press?

    Note: I could not find OnsTabbar as an include in ngx-onsenui, or a SetActiveTab function anywhere in the directives folder for ngx-onsenui - is it supported in Angular2+ ?

    thanks,

    Phil.