@kongponents/ktabs
v7.2.2
Published
Tabs component.
Downloads
395
Keywords
Readme
@kongponents/ktabs
<template>
<KTabs :tabs="tabs">
<template v-slot:tab1>
<span>Tab 1 content</span>
</template>
<template v-slot:tab2>
<span>Tab 2 content</span>
</template>
</KTabs>
</template>
<script>
export default {
data() {
return {
tabs: [
{
hash: '#tab1',
title: 'tab1'
},
{
hash: '#tab2',
title: 'tab2
}
]
}
}
}
</script>