API reference
Every public class, method, and event in @codexo/exojs. Generated from source.
interfaceTooltipOptions
@codexo/exojs / ui / stable
Options for Tooltip.
8
props
0
methods
0
events
Import
import { TooltipOptions } from '@codexo/exojs'Options for Tooltip.
Properties8
background?: numberBackground fill color as a packed 0xRRGGBB integer. Default 0x222222.
delay?: numberSeconds to wait before the tooltip appears. Default 0.3.
fontSize?: numberFont size in pixels. Default 12.
offsetX?: numberHorizontal pixel offset from the pointer position. Default 12.
offsetY?: numberVertical pixel offset from the pointer position. Default -28.
padding?: numberInner padding in pixels around the text. Default 6.
text: stringLabel text to display.
textColor?: numberText color as a packed 0xRRGGBB integer. Default 0xffffff.
Source