The b.Tabs
constructor creates a tabs container. Its link children must be created with the b.TabLink
constructor.
Modifier | Action |
---|
b.Centered | Center the tabs |
b.Right | Align the tabs to the right |
b.Boxed | Draw boxed tabs |
b.Toggle | Button-looking tabs |
b.ToggleRounded | Rounded button-looking tabs |
b.FullWidth | Take the whole width |
b.Small | Set size to small |
b.Medium | Set size to medium |
b.Large | Set size to large |
Child | Action |
---|
b.OnTabs(...any) | Apply children to the <div class="tabs"> element |
b.OnUl(...any) | Apply children to the <ul> element |
e.Class , e.Classer , e.Classeser or e.Styles | Apply child to the <div class="tabs"> element |
b.Container(...any) | Use element as an intermediate container |
Anything else | Apply children to the <ul> element |
The b.TabLink
and b.TabAHref
constructors create tab entries which are links.
Modifier | Action |
---|
b.Active | Apply the is-active class to the <li> element |