primevue-mirror/components/lib/tabmenu/BaseTabMenu.vue

34 lines
665 B
Vue
Raw Normal View History

2023-05-30 11:43:52 +00:00
<script>
import BaseComponent from 'primevue/basecomponent';
import TabMenuStyle from 'primevue/tabmenu/style';
2023-05-30 11:43:52 +00:00
export default {
name: 'BaseTabMenu',
extends: BaseComponent,
props: {
model: {
type: Array,
default: null
},
activeIndex: {
type: Number,
default: 0
},
'aria-labelledby': {
type: String,
default: null
},
'aria-label': {
type: String,
default: null
}
},
style: TabMenuStyle,
2023-05-30 11:43:52 +00:00
provide() {
return {
$parentInstance: this
};
}
};
</script>