Tabs

Component name: <v-tabs> + <v-tab>

Examples

Basic

Components

v-tabs

Wrapper component for tabs.

API

Name Type Description Default
change Event Triggered whenever the active tab changes -

v-tab

API

Name Type Description Default
title String Set the title of the tab -
active Boolean Whether or not the tab is active false

Scoped Slot

For interacting with the tab, we're exposing an object using Scoped slots.

This object contains the following:

Name Type Description
active Boolean Indicates wether or not the tab is active.

Notice

All other properties that are not defined above, will be passed to the component as html attributes. This is especially useful for adding the class attribute.