@forlagshuset/v-tabs
FH Tabs component
ARIA implementation as in https://www.w3.org/TR/wai-aria-practices/examples/tabs/tabs-1/tabs.html
FHTabs props
props: {
ariaLabel: {
type: String
}
}```
FHTab props:
props: {
id: {
type: String,
default: null
},
name: {
type: String,
required: true
},
prefix: {
type: String,
default: ''
},
suffix: {
type: String,
default: ''
},
isDisabled: {
type: Boolean,
default: false
},
},
Basic example
<FHTabs>
<FHTab name="tab button name">
// Use other components or HTML here!
<FHTab>
</FHTabs>
Tabs with before/after templates
Using VueJS slots :heart_eyes:
<FHTabs>
<template #before-tablist>Before Tablist</template>
<template #after-tablist>After Tablist</template>
<template #before-panels>Before Panels</template>
<template #after-panels>After Panels</template>
<FHTab name="tab button name">
// Use other components or HTML here!
<FHTab>
</FHTabs>
Related Packages
Version History
| Version | Released | Vue | License |
|---|---|---|---|
| 0.2.27 | ^2.6.10 | MIT | |
| 0.2.26 | ^2.6.10 | MIT | |
| 0.2.25 | ^2.6.10 | MIT | |
| 0.2.24 | ^2.6.10 | MIT | |
| 0.2.23 | ^2.6.10 | MIT | |
| 0.2.22 | ^2.6.10 | MIT | |
| 0.2.21 | ^2.6.10 | MIT | |
| 0.2.20 | ^2.6.10 | MIT | |
| 0.2.19 | ^2.6.10 | MIT | |
| 0.2.18 | ^2.6.10 | MIT | |
| 0.2.17 | ^2.6.10 | MIT | |
| 0.2.16 | ^2.6.10 | MIT | |
| 0.2.15 | ^2.6.10 | MIT | |
| 0.2.14 | ^2.6.10 | MIT | |
| 0.2.13 | ^2.6.10 | MIT | |
| 0.2.12 | ^2.6.10 | MIT | |
| 0.2.11 | ^2.6.10 | MIT | |
| 0.2.10 | ^2.6.10 | MIT | |
| 0.2.9 | ^2.6.10 | MIT | |
| 0.2.8 | ^2.6.10 | MIT | |
| 0.2.7 | ^2.6.10 | MIT | |
| 0.2.6 | ^2.6.10 | MIT | |
| 0.2.5 | ^2.6.10 | MIT | |
| 0.2.4 | ^2.6.10 | MIT | |
| 0.2.3 | ^2.6.10 | MIT | |
| 0.2.2 | ^2.6.10 | MIT | |
| 0.2.1 | ^2.6.10 | MIT | |
| 0.2.0 | ^2.6.10 | MIT | |
| 0.1.14 | ^2.6.10 | MIT | |
| 0.1.11 | ^2.6.10 | MIT |
Showing the latest 30 of 40. See every release on npm