feat(vue): [popconfirm] add popper-options props (#1439)

This commit is contained in:
gimmyhehe 2024-03-01 16:33:02 +08:00 committed by GitHub
parent faba131d19
commit 995e363c40
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 3 additions and 0 deletions

View File

@ -35,6 +35,7 @@ export const popConfirmProps = {
},
message: String,
customClass: String,
popperOptions: Object,
trigger: {
type: String,
default: 'hover',

View File

@ -9,6 +9,7 @@
:width="width"
:title="title"
:popper-class="m('tiny-popconfirm-popover', customClass)"
:popper-options="popperOptions"
:reference="reference"
@show="handleEmit('show')"
@hide="handleEmit('hide')"
@ -72,6 +73,7 @@ export default defineComponent({
type: Object,
default: () => ({})
},
popperOptions: Object,
message: String,
customClass: String,
trigger: {