Uses of Class
org.patternfly.component.tabs.Tabs
-
Uses of Tabs in org.patternfly.component.page
-
Uses of Tabs in org.patternfly.component.tabs
Modifier and TypeMethodDescription<T> Tabs
Tabs.ariaAddLabel
(String label) Aria-label for the add button.Provides an accessible label for the tabs.Tabs.ariaOverflowLabel
(String label) The aria label applied to the button which toggles the tab overflow menuTabs.ariaScrollBackLabel
(String label) Aria-label for the back scroll buttonTabs.ariaScrollForwardLabel
(String label) Aria-label for the forward scroll buttonTabs.ariaToggleLabel
(String label) Aria-label for the expandable toggleTabs.box
(boolean box) Tabs.closeable()
Tabs.closeable
(CloseHandler<Tab> closeHandler) Tabs.expandable
(Breakpoints<ExpandableModifier> expandable) Enable expandable vertical tabs at various breakpoints (Modifiers.Vertical.vertical()
should be set to true for this to work).Tabs.expandable
(ExpandableModifier expandable) Same asexpandable(breakpoints(default_, expandable))
Tabs.fill
(boolean fill) Tabs.inset
(Breakpoints<Inset> inset) Insets at various breakpoints.Same asinset(breakpoints(default_, inset))
Tabs.lightTabs()
Same as lightTabs(true)Tabs.lightTabs
(boolean lightTabs) Enables lightTabs styling to the tab componentTabs.noBorderBottom()
Same as noBorderBottom(true)Tabs.noBorderBottom
(boolean noBorderBottom) Disables border bottom tab styling on tabs.Tabs.noInitialSelection()
By default, the first tab is selected initially.Callback for the add button.Tabs.onClose
(CloseHandler<Tab> closeHandler) Tabs.onSelect
(SelectHandler<Tab> selectHandler) Tabs.onToggle
(ToggleHandler<Tabs> toggleHandler) Tabs.overflowHorizontal()
Flag which places overflowing tabs into a menu triggered by the last tab.Tabs.overflowHorizontal
(String overflowText) Flag which places overflowing tabs into a menu triggered by the last tab.Tabs.pageInsets
(boolean pageInsets) Tabs.secondary
(boolean secondary) Enables secondary styling to the tab componentTabs.showTabCount()
Same as showTabCount(true)Tabs.showTabCount
(boolean showTabCount) Flag which shows the count of overflowing tabs when enabledTab.tabs()
Returns the enclosingTabs
component.static Tabs
Tabs.tabs()
static <E extends HTMLElement>
TabsTabs.tabs
(HTMLContainerBuilder<E> builder) Tabs.that()
Tabs.toggleText
(String text) Text that appears in the expandable toggle.Tabs.vertical
(boolean vertical) Modifier and TypeMethodDescriptionTab.add
(Function<Tabs, elemental2.promise.Promise<TabContent>> content) Tab.addContent
(Function<Tabs, elemental2.promise.Promise<TabContent>> content) Callback for the add button.Tabs.onToggle
(ToggleHandler<Tabs> toggleHandler)