Skip to content

Commit

Permalink
feat(vue): [popconfirm] add popper-options props (#1439)
Browse files Browse the repository at this point in the history
  • Loading branch information
gimmyhehe authored Mar 1, 2024
1 parent faba131 commit 995e363
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions packages/vue/src/popconfirm/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@ export const popConfirmProps = {
},
message: String,
customClass: String,
popperOptions: Object,
trigger: {
type: String,
default: 'hover',
Expand Down
2 changes: 2 additions & 0 deletions packages/vue/src/popconfirm/src/pc.vue
Original file line number Diff line number Diff line change
Expand Up @@ -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')"
Expand Down Expand Up @@ -72,6 +73,7 @@ export default defineComponent({
type: Object,
default: () => ({})
},
popperOptions: Object,
message: String,
customClass: String,
trigger: {
Expand Down

0 comments on commit 995e363

Please sign in to comment.