API reference

Every public class, method, and event in @codexo/exojs. Generated from source.

C

classTooltip

@codexo/exojs / core / stable

Hover tooltip attached to a RenderNode. Shows a small text label near the pointer after a short delay when the pointer enters `target`, and hides it immediately on pointer-out. The tooltip node is parented to the nearest UIRoot ancestor of `target`, so it always renders in screen space above other content. The target must have `interactive = true` for the hover signals to fire.

0
props
1
methods
0
events
Import
import { Tooltip } from '@codexo/exojs'

Hover tooltip attached to a RenderNode. Shows a small text label near the pointer after a short delay when the pointer enters `target`, and hides it immediately on pointer-out.

The tooltip node is parented to the nearest UIRoot ancestor of `target`, so it always renders in screen space above other content.

The target must have `interactive = true` for the hover signals to fire.

Constructors 1
new(target: RenderNode, options: TooltipOptions): Tooltip
Methods 1
destroy(): void
Source