Class Tabs

class Tabs
  : Widget

Constructors

NameDescription
this ()

Fields

TypeNameDescription
alignment Tab bar position - top or bottom
bool
buildHiddenTabs
defaultTabKey
void delegate(TabItemBase)
onSelect Signals of tab change (e.g. by clicking on tab header)
_bar
_content

18 inherited fields

Methods

NameDescription
opApply (callback)
wrap (tabs)
build ()
createElement ()
createState ()
updateElement (el)

8 inherited methods

Inner classes

NameDescription
State

CSS nodes

// top alignment
Tabs.top
├── TabBar
│   ├── TabItemBase
...
╰── TabContent
    ├── TabPane
    │   ╰── *content*
    ...
// bottom alignment
Tabs.bottom
├── TabContent
│   ├── TabPane
│   │   ╰── *content*
...
╰── TabBar
    ├── TabItemBase
    ...