primevue-mirror/components/lib/tabs/BaseTabs.vue

52 lines
1.0 KiB
Vue
Raw Normal View History

2024-04-19 13:51:57 +00:00
<script>
import BaseComponent from 'primevue/basecomponent';
import TabsStyle from 'primevue/tabs/style';
export default {
name: 'BaseTabs',
extends: BaseComponent,
props: {
value: {
type: String,
default: undefined
},
lazy: {
type: Boolean,
default: false
},
orientation: {
2024-04-25 08:18:53 +00:00
// @todo
2024-04-19 13:51:57 +00:00
type: String,
default: 'horizontal'
},
scrollable: {
type: Boolean,
default: false
},
2024-04-25 00:58:54 +00:00
scrollHeight: {
type: String,
default: undefined
},
2024-04-19 13:51:57 +00:00
showNavigators: {
type: Boolean,
default: true
},
tabindex: {
type: Number,
default: 0
},
selectOnFocus: {
type: Boolean,
default: false
}
},
style: TabsStyle,
provide() {
return {
$pcTabs: this,
$parentInstance: this
};
}
};
</script>