Tabset

Tabset allows you to easily switch between different views. Each tab serves as a container, so you can customize it with the necessary components.

Methods

MethodDescription

selectTab()

selects a tab

Triggers

Triggers allow you to launch certain actions upon different events.

On Init

Calls for an action on component's initialization

On Tab Change

Calls for an action when a tab is switched

Configuring the tabs

By default, a tabset comes with 2 tabs, but you can add more if necessary.

Tabs can also be hidden on a certain condition, e.g. a user's role. To manage the visibility of a tab, expand its settings, and specify the condition in the Visibility field, e.g. {{user.role == 'admin'}}.

Last updated