Props
Attributes
- Graph
- Supertypes
- trait WithChildren[VdomNode]trait PropTypesclass Objecttrait Matchableclass Any
Members list
Type members
Classlikes
Determines the color of the indicator.
Determines the color of the indicator.
Attributes
- Graph
- Supertypes
- class Prop[String]class Objecttrait Matchableclass Any
- Self type
- indicatorColor.type
The tabs orientation (layout flow direction).
The tabs orientation (layout flow direction).
Attributes
- Graph
- Supertypes
- class Prop[String]class Objecttrait Matchableclass Any
- Self type
- orientation.type
Determine behavior of scroll buttons when tabs are set to scroll:
Determine behavior of scroll buttons when tabs are set to scroll:
auto
will only present them when not all the items are visible.desktop
will only present them on medium and larger viewports.on
will always present them.off
will never present them.
Attributes
- Graph
- Supertypes
- class Prop[String]class Objecttrait Matchableclass Any
- Self type
- scrollButtons.type
Determines the color of the Tab
.
Determines the color of the Tab
.
Attributes
- Graph
- Supertypes
- class Prop[String]class Objecttrait Matchableclass Any
- Self type
- textColor.type
Determines additional display behavior of the tabs:
Determines additional display behavior of the tabs:
scrollable
will invoke scrolling properties and allow for horizontally scrolling (or swiping) of the tab bar. -fullWidth
will make the tabs grow to use all the available space, which should be used for small views, like on mobile.standard
will render the default state.
Attributes
- Graph
- Supertypes
- class Prop[String]class Objecttrait Matchableclass Any
- Self type
- variant.type
Value members
Concrete methods
The component used to render the scroll buttons.
The component used to render the scroll buttons.
Attributes
Props applied to the tab indicator element.
Props applied to the tab indicator element.
Attributes
Props applied to the TabScrollButton
element.
Callback fired when the component mounts.
This is useful when you want to trigger an action programmatically.
It supports two actions: updateIndicator()
and updateScrollButtons()
Callback fired when the component mounts.
This is useful when you want to trigger an action programmatically.
It supports two actions: updateIndicator()
and updateScrollButtons()
Attributes
- {object}
actions This object contains all possible actions that can be triggered programmatically.
The label for the Tabs as a string.
The label for the Tabs as a string.
Attributes
An id or list of ids separated by a space that label the Tabs.
An id or list of ids separated by a space that label the Tabs.
Attributes
If true
, the tabs will be centered.
This property is intended for large views.
If true
, the tabs will be centered.
This property is intended for large views.
Attributes
The content of the component.
The content of the component.
Attributes
Override or extend the styles applied to the component. See CSS API below for more details.
Override or extend the styles applied to the component. See CSS API below for more details.
Attributes
The component used for the root node. Either a string to use a HTML element or a component.
The component used for the root node. Either a string to use a HTML element or a component.
Attributes
Callback fired when the value changes.
Callback fired when the value changes.
Attributes
- {any}
value We default to the index of the child (number)
- {object}
event The event source of the callback
If true
the selected tab changes on focus. Otherwise it only
changes on activation.
If true
the selected tab changes on focus. Otherwise it only
changes on activation.
Attributes
The value of the currently selected Tab
.
If you don't want any selected Tab
, you can set this property to false
.
The value of the currently selected Tab
.
If you don't want any selected Tab
, you can set this property to false
.
Attributes
Inherited methods
Attributes
- Inherited from:
- PropTypes
Inherited fields
Attributes
- Inherited from:
- PropTypes