Skip to content

KTooltip ​

示例 ​

Hover to show tooltip

Tooltip that displays informational text on hover with configurable placement and delay.

Props ​

NameTypeDefaultDescription
contentstring''Text content to display in the tooltip.
placement'top' | 'bottom' | 'left' | 'right''top'Placement of the tooltip relative to the trigger element.
delaynumber200Delay in milliseconds before the tooltip appears on hover.

Slots ​

NameDescription
defaultThe trigger element that the tooltip is anchored to.

Basic Usage ​