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

46 lines
933 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'
},
2023-11-15 10:16:57 +00:00
breakpoint: {
type: String,
default: '960px'
},
2023-05-30 06:56:47 +00:00
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>