Monaca Onsen UI Discord Chat Github Repo

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.