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

51 lines
1016 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, Object],
2023-05-29 09:09:48 +00:00
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 {
$pcMenu: this,
$parentInstance: this
};
2023-05-29 09:09:48 +00:00
}
};
</script>