# Tabs

# Slots

Name Description
default

# Props

Name Type Description Default
options Object () => ({ useUrlFragment: true, currentTab: null, })
default-tab Number null

# Data

Name Type Description Initial value
tabs array []
activeTabHash string ""
activeTabIndex number 0
lastActiveTabHash string ""
activeWidth number 0
activePosLeft number 0

# Events

Name Description
clicked
Arguments
  • { tab: selectedTab }: object
changed
Arguments
  • { tab: selectedTab }: object

# Methods

# setActivePosition()

Syntax

setActivePosition(): void
1

# findTab()

Syntax

findTab(hash: unknow): unknow
1

# selectTab()

Syntax

selectTab(selectedTabHash: unknow, event: unknow): void
1

# selectTabInitial()

Syntax

selectTabInitial(selectedTabHash: unknow, event: unknow): void
1

# setTabVisible()

Syntax

setTabVisible(hash: unknow, visible: unknow): void
1

# getTabIndex()

Syntax

getTabIndex(hash: unknow): unknow
1

# getTabHash()

Syntax

getTabHash(index: unknow): unknow
1

# getActiveTab()

Syntax

getActiveTab(): unknow
1

# getActiveTabIndex()

Syntax

getActiveTabIndex(): unknow
1