primevue-mirror/components/lib/tabview/BaseTabView.vue

54 lines
1.1 KiB
Vue
Raw Normal View History

2023-05-24 06:24:33 +00:00
<script>
import BaseComponent from 'primevue/basecomponent';
import TabViewStyle from 'primevue/tabview/style';
2023-05-24 06:24:33 +00:00
export default {
name: 'BaseTabView',
extends: BaseComponent,
props: {
activeIndex: {
type: Number,
default: 0
},
lazy: {
type: Boolean,
default: false
},
scrollable: {
type: Boolean,
default: false
},
tabindex: {
type: Number,
default: 0
},
selectOnFocus: {
type: Boolean,
default: false
},
previousButtonProps: {
type: null,
default: null
},
nextButtonProps: {
type: null,
default: null
},
prevIcon: {
type: String,
default: undefined
},
nextIcon: {
type: String,
default: undefined
}
},
style: TabViewStyle,
provide() {
return {
$parentInstance: this
};
2023-05-24 06:24:33 +00:00
}
};
</script>