primevue-mirror/components/lib/menubar/BaseMenubar.vue

39 lines
778 B
Vue
Raw Normal View History

2023-05-29 14:06:26 +00:00
<script>
import BaseComponent from 'primevue/basecomponent';
import MenubarStyle from 'primevue/menubar/style';
2023-05-29 14:06:26 +00:00
export default {
name: 'BaseMenubar',
extends: BaseComponent,
props: {
model: {
type: Array,
default: null
},
buttonProps: {
type: null,
default: null
},
breakpoint: {
type: String,
default: '960px'
},
ariaLabelledby: {
2023-05-29 14:06:26 +00:00
type: String,
default: null
},
ariaLabel: {
2023-05-29 14:06:26 +00:00
type: String,
default: null
}
},
style: MenubarStyle,
provide() {
return {
$pcMenubar: this,
$parentInstance: this
};
2023-05-29 14:06:26 +00:00
}
};
</script>