primevue-mirror/components/lib/overlaypanel/BaseOverlayPanel.vue

50 lines
1.0 KiB
Vue
Raw Normal View History

2023-05-29 20:18:28 +00:00
<script>
import BaseComponent from 'primevue/basecomponent';
import OverlayPanelStyle from 'primevue/overlaypanel/style';
2023-05-29 20:18:28 +00:00
export default {
name: 'BaseOverlayPanel',
extends: BaseComponent,
props: {
dismissable: {
type: Boolean,
default: true
},
showCloseIcon: {
type: Boolean,
default: false
},
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
},
closeIcon: {
type: String,
default: undefined
},
closeOnEscape: {
type: Boolean,
default: true
2023-05-29 20:18:28 +00:00
}
},
style: OverlayPanelStyle,
provide() {
return {
$parentInstance: this
};
2023-05-29 20:18:28 +00:00
}
};
</script>