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,
|
message: String,
|
||||||
customClass: String,
|
customClass: String,
|
||||||
|
popperOptions: Object,
|
||||||
trigger: {
|
trigger: {
|
||||||
type: String,
|
type: String,
|
||||||
default: 'hover',
|
default: 'hover',
|
||||||
|
|
|
@ -9,6 +9,7 @@
|
||||||
:width="width"
|
:width="width"
|
||||||
:title="title"
|
:title="title"
|
||||||
:popper-class="m('tiny-popconfirm-popover', customClass)"
|
:popper-class="m('tiny-popconfirm-popover', customClass)"
|
||||||
|
:popper-options="popperOptions"
|
||||||
:reference="reference"
|
:reference="reference"
|
||||||
@show="handleEmit('show')"
|
@show="handleEmit('show')"
|
||||||
@hide="handleEmit('hide')"
|
@hide="handleEmit('hide')"
|
||||||
|
@ -72,6 +73,7 @@ export default defineComponent({
|
||||||
type: Object,
|
type: Object,
|
||||||
default: () => ({})
|
default: () => ({})
|
||||||
},
|
},
|
||||||
|
popperOptions: Object,
|
||||||
message: String,
|
message: String,
|
||||||
customClass: String,
|
customClass: String,
|
||||||
trigger: {
|
trigger: {
|
||||||
|
|
Loading…
Reference in New Issue