primevue-mirror/components/lib/megamenu/BaseMegaMenu.vue

42 lines
845 B
Vue
Raw Normal View History

2023-05-30 06:56:47 +00:00
<script>
import BaseComponent from 'primevue/basecomponent';
import MegaMenuStyle from 'primevue/megamenu/style';
2023-05-30 06:56:47 +00:00
export default {
name: 'BaseMegaMenu',
extends: BaseComponent,
props: {
model: {
type: Array,
default: null
},
orientation: {
type: String,
default: 'horizontal'
},
disabled: {
type: Boolean,
default: false
},
tabindex: {
type: Number,
default: 0
},
'aria-labelledby': {
type: String,
default: null
},
'aria-label': {
type: String,
default: null
}
},
style: MegaMenuStyle,
provide() {
return {
$parentInstance: this
};
2023-05-30 06:56:47 +00:00
}
};
</script>