primevue-mirror/components/lib/popover/BasePopover.vue

42 lines
849 B
Vue
Raw Normal View History

2023-05-29 20:18:28 +00:00
<script>
import BaseComponent from 'primevue/basecomponent';
import PopoverStyle from 'primevue/popover/style';
2023-05-29 20:18:28 +00:00
export default {
name: 'BasePopover',
2023-05-29 20:18:28 +00:00
extends: BaseComponent,
props: {
dismissable: {
type: Boolean,
default: true
},
appendTo: {
type: [String, Object],
2023-05-29 20:18:28 +00:00
default: 'body'
},
baseZIndex: {
type: Number,
default: 0
},
autoZIndex: {
type: Boolean,
default: true
},
breakpoints: {
type: Object,
default: null
},
closeOnEscape: {
type: Boolean,
default: true
2023-05-29 20:18:28 +00:00
}
},
style: PopoverStyle,
provide() {
return {
$parentInstance: this
};
2023-05-29 20:18:28 +00:00
}
};
</script>