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

47 lines
958 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
},
ariaLabelledby: {
2023-05-30 06:56:47 +00:00
type: String,
default: null
},
ariaLabel: {
2023-05-30 06:56:47 +00:00
type: String,
default: null
}
},
style: MegaMenuStyle,
provide() {
return {
$pcMegaMenu: this,
$parentInstance: this
};
2023-05-30 06:56:47 +00:00
}
};
</script>