JxTabs class
Tabs following the ARIA tabs pattern: a tablist of buttons, one
tabpanel each.
The selected tab is the only one in the tab order; the arrow keys (Left
and Right, or Up and Down when orientation is vertical), Home and End
move between tabs and select them. It keeps its own state, so it
works as soon as it runs in the browser (inside a @client component).
Every panel is rendered; hidden ones carry the hidden attribute.
Constructors
Properties
- classes → String?
-
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- id → String
-
Prefix of the tab and panel ids. Unique on the page.
final
- initialIndex → int
-
Tab selected on first render.
final
- key → Key?
-
Controls how one component replaces another component in the tree.
finalinherited
- label → String?
-
Accessible name of the tab list, such as "Account settings".
final
-
onChange
→ ValueChanged<
int> ? -
Called with the index of the newly selected tab.
final
- orientation → JxTabsOrientation
-
Vertical tabs sit beside their panel on wide screens.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
tabs
→ List<
JxTab> -
final
- vertical → bool
-
no setter
Methods
-
createElement(
) → Element -
Creates a
StatefulElementto manage this component's location in the tree.inherited -
createState(
) → State< JxTabs> - Creates the mutable state for this component at a given location in the tree.
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
panelId(
int index) → String -
tabId(
int index) → String -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited