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

58 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,
default: 'body'
},
autoZIndex: {
type: Boolean,
default: true
},
baseZIndex: {
type: Number,
default: 0
},
exact: {
type: Boolean,
default: true
},
disabled: {
type: Boolean,
default: false
},
tabindex: {
type: Number,
default: 0
},
'aria-labelledby': {
type: String,
default: null
},
'aria-label': {
type: String,
default: null
}
},
style: TieredMenuStyle,
provide() {
return {
$parentInstance: this
};
2023-05-29 12:31:43 +00:00
}
};
</script>