Skip to content
On this page

Tooltip
New

Commonly used to display prompt information when the mouse hovers.

Usage

title | content

Set tooltip title content.

trigger

Set tooltip trigger methods.

placement

Set tooltip placement.

headless

Custom tooltip.

Props

NameTypeDefaultDescription
titlestring''set tooltip title.
contentstring''set tooltip content.
placement<'top' | 'right' | 'bottom' | 'left' | 'top-start' | 'top-end' | 'right-start' | 'right-end' | 'bottom-start' | 'bottom-end' | 'left-start' | 'left-end'>[]'right'set tooltip placement.
triggerhover' | 'click''hover'set tooltip trigger methods.

Slots

NameParametersDescription
headless()Custom Popover.

MIT Licensed