2023-05-29 14:06:26 +00:00
|
|
|
<script>
|
|
|
|
import BaseComponent from 'primevue/basecomponent';
|
2023-10-02 10:46:09 +00:00
|
|
|
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
|
|
|
|
},
|
2023-11-15 10:20:49 +00:00
|
|
|
breakpoint: {
|
|
|
|
type: String,
|
|
|
|
default: '960px'
|
|
|
|
},
|
2023-11-24 12:15:40 +00:00
|
|
|
ariaLabelledby: {
|
2023-05-29 14:06:26 +00:00
|
|
|
type: String,
|
|
|
|
default: null
|
|
|
|
},
|
2023-11-24 12:15:40 +00:00
|
|
|
ariaLabel: {
|
2023-05-29 14:06:26 +00:00
|
|
|
type: String,
|
|
|
|
default: null
|
|
|
|
}
|
|
|
|
},
|
2023-10-02 10:46:09 +00:00
|
|
|
style: MenubarStyle,
|
2023-05-30 11:06:57 +00:00
|
|
|
provide() {
|
|
|
|
return {
|
|
|
|
$parentInstance: this
|
|
|
|
};
|
2023-05-29 14:06:26 +00:00
|
|
|
}
|
|
|
|
};
|
|
|
|
</script>
|