TabStrip
Represents the Kendo UI for Vue TabStrip component. Accepts properties of type TabStripProps.
Definition
Package:@progress/kendo-vue-layout
Properties Interface:TabStripProps
Syntax:
<TabStrip
:selected="selected"
:tabs="[
{ title: 'Orders', content: 'orders' },
{ title: 'Invoices', content: 'invoices' },
{ title: 'Returns', content: 'returns', disabled: true }
]"
:tab-position="'top'"
:tab-alignment="'start'"
:size="'medium'"
:animation="true"
@select="onSelect"
>
<template v-slot:orders>Open orders</template>
<template v-slot:invoices>Unpaid invoices</template>
<template v-slot:returns>Pending returns</template>
</TabStrip>
Properties
animation?
boolean
Turns on the animation when the user switches tabs.
true
dir?
string
Sets the dir HTML attribute of the TabStrip. Use it to switch between LTR and RTL.
onSelect?
(e: TabStripSelectEventArguments) => void
Fires each time the user selects a tab.
selected?
number
Sets the index of the selected tab (see example).
Sets the size of the TabStrip.
The available options are:
smallmediumlargenull—Does not set a size class.
tabAlignment?
string
Sets the alignment of the tabs.
The available options are:
"start"—Aligns the tabs at the start of the tab list."center"—Aligns the tabs in the center of the tab list."end"—Aligns the tabs at the end of the tab list."justify"—Justifies the tabs inside the tab list."stretched"—Stretches the tabs to fill the tab list.
start
tabIndex?
number
Sets the tabIndex attribute of the tab list.
0
tabPosition?
string
Sets the position of the tabs in the TabStrip.
The available options are:
"top"—Renders the tabs at the top of the TabStrip."bottom"—Renders the tabs at the bottom of the TabStrip."left"—Renders the tabs on the left side of the TabStrip."right"—Renders the tabs on the right side of the TabStrip.
top
Sets the array of tabs that the TabStrip renders. Each tab is a TabStripTabProperties object.