primevue-mirror/components/lib/contextmenu/BaseContextMenu.vue

54 lines
1.1 KiB
Vue

<script>
import BaseComponent from 'primevue/basecomponent';
import ContextMenuStyle from 'primevue/contextmenu/style';
export default {
name: 'BaseContextMenu',
extends: BaseComponent,
props: {
model: {
type: Array,
default: null
},
appendTo: {
type: String,
default: 'body'
},
autoZIndex: {
type: Boolean,
default: true
},
baseZIndex: {
type: Number,
default: 0
},
global: {
type: Boolean,
default: false
},
exact: {
type: Boolean,
default: true
},
tabindex: {
type: Number,
default: 0
},
'aria-labelledby': {
type: String,
default: null
},
'aria-label': {
type: String,
default: null
}
},
style: ContextMenuStyle,
provide() {
return {
$parentInstance: this
};
}
};
</script>