Skip to content

Pivot-DEMO


Properties


PropertyTypeRequiredDefaultDescription
modelValueobjectNo() =>See the Pivot modelValue option.
itemsarrayNo[{ name: 'Pivot', width: 80 }]See the Pivot items option.
tabbooleanNofalseSee the Pivot tab option.
paddingstringNo''See the Pivot padding option.
itemPaddingstringNo''See the Pivot itemPadding option.
fontSizestringNo''See the Pivot fontSize option.
foregroundstringNo''Foreground color.
choosenForegroundstringNo''See the Pivot choosenForeground option.
sliderBackgroundstringNo''See the Pivot sliderBackground option.
sliderBoxshadowbooleanNofalseSee the Pivot sliderBoxshadow option.
sliderBorderRadiusstringNo'3'See the Pivot sliderBorderRadius option.
backgroundstringNo''Background color.
borderRadiusstringNo''See the Pivot borderRadius option.
themestringNo'global'Theme style. Supports global, light, dark, system, and custom.
disabledbooleanNofalseSee the Pivot disabled option.
langstringNo"global"See the Pivot lang option.

Events


EventArgumentsDescription
inputvalueSee the component input option.
changeobjectSee the component change option.

Slots


  1. Container
javascript
<template v-slot:container="x">
</template>

Data


  1. items
javascript
items = [{ key: 0, name: "Pivot", width: 80, show: true, disabled: false }]

//e.g.//

items: [{ key: 0, name: "Pivot", width: 80 }]

MIT Licensed