API: Primitives
TooltipConfig
Interface reference for TooltipConfig.
Overview
- Kind: Interface
- Source: packages/primitives/src/tooltip/tooltip.types.ts:5
Declaration
interface TooltipConfig
Properties
| Name | Type | Description |
|---|---|---|
placement |
TooltipPlacement |
Placement relative to the anchor element. Default: 'top' |
offset |
number |
Gap in px between anchor and tooltip. Default: 8 |
showDelay |
number |
Delay in ms before showing the tooltip. Default: 300 |
hideDelay |
number |
Delay in ms before hiding the tooltip. Default: 100 |
disabled |
boolean |
Whether the tooltip is disabled. Default: false |