mirror of
https://github.com/element-plus/element-plus.git
synced 2025-04-24 17:00:59 +08:00
docs(components): [tooltip] add trigger-keys attribute (#8740)
This commit is contained in:
parent
a9e062b75c
commit
884690c0cf
@ -167,6 +167,7 @@ tooltip/animations
|
||||
| trigger | How should the tooltip be triggered (to show) | string | hover / click / focus / contextmenu | hover |
|
||||
| virtual-triggering | Indicates whether virtual triggering is enabled | boolean | — | false |
|
||||
| virtual-ref | Indicates the reference element to which the tooltip is attached | HTMLElement | — | — |
|
||||
| trigger-keys | When you click the mouse to focus on the trigger element, you can define a set of keyboard codes to control the display of tooltip through the keyboard | Array | — | `['Enter','Space']` |
|
||||
|
||||
## Slots
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user