HoverCard
A preview card triggered on hover/focus with configurable delay.
Basic usage
Trigger on hover
Placement
Four directions
Show / hide delay
Delay
Controlled display
The open attribute is controlled: an external button can set/remove open to show/hide the card (hover/focus triggers still apply in addition).
Controlled display (open attribute)
API
Attributes
| Attribute | Description | Type | Default |
|---|---|---|---|
content | Content text | string | — |
delay | Show/hide delay in milliseconds | string | 100 |
open | Controlled display (boolean attribute; shows when present) | boolean | — |
placement | Popup placement | Placement | top |
title | Title text | string | — |
Slots
| Name | Description |
|---|---|
| default | — |
No public events. Triggered on hover/focus, role="dialog".