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

    Interface DialogSnapshot

    Immutable Dialog snapshot including modal and backdrop semantics.

    interface DialogSnapshot {
        ariaModal: true | null;
        contentId: string;
        controlled: boolean;
        hasBackdrop: boolean;
        modal: boolean;
        open: boolean;
        position: PositionResult | null;
        role: string;
        topmost: boolean;
    }

    Hierarchy (View Summary)

    Index

    Properties

    ariaModal: true | null

    Value for consumer-rendered aria-modal.

    contentId: string

    Stable content ID used by trigger relationships.

    controlled: boolean

    Whether state ownership belongs to the consumer.

    hasBackdrop: boolean

    Metadata indicating whether a backdrop belongs to this dialog.

    modal: boolean

    Whether the dialog is modal.

    open: boolean

    Current externally observable open state.

    position: PositionResult | null

    Latest calculated coordinates, or null before positioning.

    role: string

    Semantic role for consumer-rendered content.

    topmost: boolean

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