mirror of
https://github.com/element-plus/element-plus.git
synced 2026-03-13 07:51:17 +08:00
fix: add offset in usePopoverProps (#5982)
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user