Open
Description
So far, I found only this way to programmatically select a tab:
<bit-tabs {(panels)}="panels" {(active)}="activePanel">
VM:
this.attr('activePanel', self.viewModel.attr('panels.1'));
this.attr('panels.0.active', false);
this.attr('panels.1.active', true);
It would be nice to just set the active
attribute on a desired tab to preselect it:
<bit-tabs>
<bit-panel title="First"></bit-panel>
<bit-panel title="Second" active="true"></bit-panel>
</bit-tabs>
Metadata
Metadata
Assignees
Labels
No labels