LayoutOpenArgs: {
    anchor?: "selection" | OverlayAnchorBox | null;
    module: ModuleId;
    mountTarget?: string;
    title?: string;
    type?: OverlayType;
} | {
    anchor?: "selection" | OverlayAnchorBox | null;
    mountTarget?: string;
    preset: "selectionMenu";
    title?: string;
    type?: OverlayType;
}

Arguments accepted by low-level overlay opening helpers.

Type declaration

  • Optionalanchor?: "selection" | OverlayAnchorBox | null

    Where to anchor a popover.

  • module: ModuleId

    Module id to open.

  • OptionalmountTarget?: string

    Optional DOM selector used as the portal/mount target for this overlay.

  • Optionaltitle?: string

    Optional title override used by the overlay header.

  • Optionaltype?: OverlayType

    Optional display mode override.

Type declaration

  • Optionalanchor?: "selection" | OverlayAnchorBox | null

    Where to anchor a popover.

  • OptionalmountTarget?: string

    Optional DOM selector used as the portal/mount target for this overlay.

  • preset: "selectionMenu"

    Named preset entry such as the contextual selection menu.

  • Optionaltitle?: string

    Optional title override used by the overlay header.

  • Optionaltype?: OverlayType

    Optional display mode override.