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

50 lines
979 B
Vue
Raw Normal View History

2023-05-29 09:09:48 +00:00
<script>
import BaseComponent from 'primevue/basecomponent';
import MenuStyle from 'primevue/menu/style';
2023-05-29 09:09:48 +00:00
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: {
2023-05-29 09:09:48 +00:00
type: String,
default: null
},
ariaLabelledby: {
2023-05-29 09:09:48 +00:00
type: String,
default: null
}
},
style: MenuStyle,
provide() {
return {
$parentInstance: this
};
2023-05-29 09:09:48 +00:00
}
};
</script>