mirror of
https://github.com/element-plus/element-plus.git
synced 2024-11-21 01:02:59 +08:00
fix: add offset in usePopoverProps (#5982)
This commit is contained in:
parent
5789318ef4
commit
0b0ad578bd
@ -11,6 +11,7 @@
|
||||
:tabindex="tabindex"
|
||||
:append-to-body="appendToBody"
|
||||
:content="content"
|
||||
:offset="offset"
|
||||
:show-after="showAfter"
|
||||
:hide-after="hideAfter"
|
||||
:auto-close="autoClose"
|
||||
|
@ -32,6 +32,10 @@ export const usePopoverProps = buildProps({
|
||||
type: [String, Number],
|
||||
default: 150,
|
||||
},
|
||||
offset: {
|
||||
type: Number,
|
||||
default: undefined,
|
||||
},
|
||||
showAfter: {
|
||||
type: Number,
|
||||
default: 0,
|
||||
|
Loading…
Reference in New Issue
Block a user