primevue-mirror/components/lib/tieredmenu/BaseTieredMenu.vue

54 lines
1.1 KiB
Vue
Raw Normal View History

2023-05-29 12:31:43 +00:00
<script>
import BaseComponent from 'primevue/basecomponent';
import TieredMenuStyle from 'primevue/tieredmenu/style';
2023-05-29 12:31:43 +00:00
export default {
name: 'BaseTieredMenu',
extends: BaseComponent,
props: {
popup: {
type: Boolean,
default: false
},
model: {
type: Array,
default: null
},
appendTo: {
type: [String, Object],
2023-05-29 12:31:43 +00:00
default: 'body'
},
autoZIndex: {
type: Boolean,
default: true
},
baseZIndex: {
type: Number,
default: 0
},
disabled: {
type: Boolean,
default: false
},
tabindex: {
type: Number,
default: 0
},
ariaLabelledby: {
2023-05-29 12:31:43 +00:00
type: String,
default: null
},
ariaLabel: {
2023-05-29 12:31:43 +00:00
type: String,
default: null
}
},
style: TieredMenuStyle,
provide() {
return {
$parentInstance: this
};
2023-05-29 12:31:43 +00:00
}
};
</script>