primevue-mirror/components/lib/menu/BaseMenu.vue

54 lines
1.0 KiB
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
},
exact: {
type: Boolean,
default: true
},
tabindex: {
type: Number,
default: 0
},
'aria-label': {
type: String,
default: null
},
'aria-labelledby': {
type: String,
default: null
}
},
style: MenuStyle,
provide() {
return {
$parentInstance: this
};
}
};
</script>