forked from opentiny/tiny-vue
feat(vue): [popconfirm] add popper-options props (#1439)
This commit is contained in:
parent
faba131d19
commit
995e363c40
|
@ -35,6 +35,7 @@ export const popConfirmProps = {
|
|||
},
|
||||
message: String,
|
||||
customClass: String,
|
||||
popperOptions: Object,
|
||||
trigger: {
|
||||
type: String,
|
||||
default: 'hover',
|
||||
|
|
|
@ -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: {
|
||||
|
|
Loading…
Reference in New Issue