43 lines
852 B
Vue
43 lines
852 B
Vue
|
<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
|
||
|
},
|
||
|
scrollable: {
|
||
|
type: Boolean,
|
||
|
default: false
|
||
|
},
|
||
|
showNavigators: {
|
||
|
type: Boolean,
|
||
|
default: true
|
||
|
},
|
||
|
tabindex: {
|
||
|
type: Number,
|
||
|
default: 0
|
||
|
},
|
||
|
selectOnFocus: {
|
||
|
type: Boolean,
|
||
|
default: false
|
||
|
}
|
||
|
},
|
||
|
style: TabsStyle,
|
||
|
provide() {
|
||
|
return {
|
||
|
$pcTabs: this,
|
||
|
$parentInstance: this
|
||
|
};
|
||
|
}
|
||
|
};
|
||
|
</script>
|