50 lines
979 B
Vue
50 lines
979 B
Vue
<script>
|
|
import BaseComponent from 'primevue/basecomponent';
|
|
import MenuStyle from 'primevue/menu/style';
|
|
|
|
export default {
|
|
name: 'BaseMenu',
|
|
extends: BaseComponent,
|
|
props: {
|
|
popup: {
|
|
type: Boolean,
|
|
default: false
|
|
},
|
|
model: {
|
|
type: Array,
|
|
default: null
|
|
},
|
|
appendTo: {
|
|
type: String,
|
|
default: 'body'
|
|
},
|
|
autoZIndex: {
|
|
type: Boolean,
|
|
default: true
|
|
},
|
|
baseZIndex: {
|
|
type: Number,
|
|
default: 0
|
|
},
|
|
tabindex: {
|
|
type: Number,
|
|
default: 0
|
|
},
|
|
ariaLabel: {
|
|
type: String,
|
|
default: null
|
|
},
|
|
ariaLabelledby: {
|
|
type: String,
|
|
default: null
|
|
}
|
|
},
|
|
style: MenuStyle,
|
|
provide() {
|
|
return {
|
|
$parentInstance: this
|
|
};
|
|
}
|
|
};
|
|
</script>
|