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

35 lines
689 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
},
ariaLabelledby: {
2023-05-30 11:43:52 +00:00
type: String,
default: null
},
ariaLabel: {
2023-05-30 11:43:52 +00:00
type: String,
default: null
}
},
style: TabMenuStyle,
2023-05-30 11:43:52 +00:00
provide() {
return {
$pcTabMenu: this,
2023-05-30 11:43:52 +00:00
$parentInstance: this
};
}
};
</script>