Tooltip New
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
| Name | Type | Default | Description |
|---|---|---|---|
| title | string | '' | set tooltip title. |
| content | string | '' | 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. |
| trigger | hover' | 'click' | 'hover' | set tooltip trigger methods. |
Slots
| Name | Parameters | Description |
|---|---|---|
| headless | () | Custom Popover. |
Play UI