UI Headless Runtime API - v1.0.0
    Preparing search index...

    Interface TooltipSnapshot

    Immutable Tooltip state and relationship metadata.

    interface TooltipSnapshot {
        ariaDescribedby: string | null;
        contentId: string;
        controlled: boolean;
        open: boolean;
        position: PositionResult | null;
        role: "tooltip";
        topmost: boolean;
        triggerId: string;
    }

    Hierarchy (View Summary)

    Index

    Properties

    ariaDescribedby: string | null

    Value for trigger aria-describedby while open.

    contentId: string

    Stable content ID used by trigger relationships.

    controlled: boolean

    Whether state ownership belongs to the consumer.

    open: boolean

    Current externally observable open state.

    position: PositionResult | null

    Latest calculated coordinates, or null before positioning.

    role: "tooltip"

    Tooltip role for non-interactive consumer content.

    topmost: boolean

    Whether this overlay is the topmost overlay in its owner document.

    triggerId: string

    Stable trigger ID.