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

50 lines
1008 B
Vue
Raw Normal View History

2023-05-29 11:12:29 +00:00
<script>
import BaseComponent from 'primevue/basecomponent';
import ContextMenuStyle from 'primevue/contextmenu/style';
2023-05-29 11:12:29 +00:00
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
},
tabindex: {
type: Number,
default: 0
},
ariaLabelledby: {
2023-05-29 11:12:29 +00:00
type: String,
default: null
},
ariaLabel: {
2023-05-29 11:12:29 +00:00
type: String,
default: null
}
},
style: ContextMenuStyle,
provide() {
return {
$parentInstance: this
};
2023-05-29 11:12:29 +00:00
}
};
</script>