useTooltip API
API reference for the useTooltip composable.
Related
Explore these related pages for additional context and usage patterns.
| Page | Category |
|---|---|
| useTooltip | Plugins |
| Tooltip | Disclosure |
| useDelay | System |
| usePopover | System |
Functions
createTooltipFallback
() => TooltipContextSynthesized fallback used when `useTooltip()` is called without `app.use(createTooltipPlugin())`. Returns a fresh context with the documented defaults — `<Tooltip.Root>` keeps working but warmup coordination is per-instance instead of region-wide.
createTooltipContext
<_E>(_options?: TooltipPluginOptions | undefined) => ContextTrinity<_E>createTooltipPlugin
(_options?: TooltipPluginOptions | undefined) => PluginuseTooltip
<_E>(namespace?: string) => _EOptions
skipDelay
MaybeRefOrGetter<number> | undefinedWindow in ms after a tooltip closes during which the next open is instant.
Default: 300
Properties
isAnyOpen
Readonly<Ref<boolean, boolean>>True when at least one tooltip is currently open in this region.
Methods
shouldSkipOpenDelay
() => booleanReturns true when the next opening tooltip should skip its open delay.
register
(input?: Partial<RegistryTicketInput>) => RegistryTicketRegister an open tooltip with the region.