Strata - v1.4.10
    Preparing search index...

    Interface TooltipConfig

    Configuration for hoverable tooltips.

    interface TooltipConfig {
        backgroundColor?: string;
        borderColor?: string;
        description?: string;
        fontSize?: number;
        hideDelay?: number;
        maxWidth?: number;
        padding?: number;
        rarity?: string;
        rarityColor?: string;
        showDelay?: number;
        stats?: { color?: string; label: string; value: string | number }[];
        textColor?: string;
        title?: string;
    }
    Index

    Properties

    backgroundColor?: string

    CSS-compatible background color string.

    borderColor?: string

    CSS-compatible border color string.

    description?: string

    Detailed descriptive text.

    fontSize?: number

    Base font size in pixels.

    hideDelay?: number

    Delay in milliseconds before hiding the tooltip.

    maxWidth?: number

    Maximum width in pixels.

    padding?: number

    Internal padding in pixels.

    rarity?: string

    Display string for item rarity.

    rarityColor?: string

    Color string for rarity text or border.

    showDelay?: number

    Delay in milliseconds before showing the tooltip.

    stats?: { color?: string; label: string; value: string | number }[]

    Key-value pairs of statistics to display (e.g., for item stats).

    textColor?: string

    CSS-compatible text color string.

    title?: string

    Main heading of the tooltip.