docs: [popover] modify the default value of trigger (#12342)

docs: update popover.md
This commit is contained in:
0xOK 2023-04-06 22:17:12 +08:00 committed by GitHub
parent c4fcb15288
commit f0bbeb3a4d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -72,7 +72,7 @@ popover/directive-usage
| Name | Description | Type | Accepted Values | Default |
| ------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | --------------- | --------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------- |
| trigger | how the popover is triggered | string | click/focus/hover/contextmenu | click |
| trigger | how the popover is triggered | string | click/focus/hover/contextmenu | hover |
| title | popover title | string | — | — |
| effect | Tooltip theme, built-in theme: `dark` / `light` | string | string | light |
| content | popover content, can be replaced with a default `slot` | string | — | — |