Files
flowbite-vue/docs/guide/tabs/examples/TabsDefaultExample.vue
2022-07-05 19:31:05 +03:00

25 lines
638 B
Vue
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
<template>
<div class="vp-raw">
<tabs v-model="activeTab">
<tab name="first" title="Проверка">
Проверка
</tab>
<tab name="second" title=роверка1">
Проверка 2
</tab>
<tab name="third" title=роверка2">
Проверка 3
</tab>
<tab name="fourth" title=роверка3" :disabled="true">
Проверка 4
</tab>
</tabs>
current tab: {{ activeTab }}
</div>
</template>
<script setup>
import { ref } from 'vue'
import { Tabs, Tab } from '../../../../src/index'
const activeTab = ref('')
</script>