Skip to content

EnTabs ​

Preview ​

Props ​

NameDescriptionDefaultControl
qaId

Id that can be set for automation selectors.

string
""
tabs

An array containing a collection of objects that identify the tabs.

array<Tab>
required
unknowncomplex object
initialTab

The active tab to show at component mount.

string
""
updateUrl

Adds a hash to the url equal to the id of the active tab.

boolean
true
navJustified

Sets tab navigation to full width.

boolean
false
hideContainer

Removes the content container to use tabs as navigation only.

boolean
false

Slots ​

tab-${tab.id}

No description

Variables
NameTypeDescription
nameunknown—

default

No description

Variables
NameTypeDescription
activeTabunknown—

content-${tab.id}

No description

Variables
NameTypeDescription
nameunknown—

Events ​

tabchange

Tab-change event.

Methods ​

No methods defined.

Examples ​

Slots ​

Dynamic slots are created for each tab and tab content using the id provided for each tab in the tabs prop.

  • tab-{id}
  • content-{id}