papi-dts
    Preparing search index...
    interface CommandPaletteRequest {
        anchor?: { height?: number; width?: number; x: number; y: number };
        dismissOnClickOutside?: boolean;
        items: CommandPaletteItem[];
        maxHeight?: number;
        maxWidth?: number;
        placeholder?: string;
        side?: "left" | "top" | "bottom" | "right";
    }
    Index

    Properties

    anchor?: { height?: number; width?: number; x: number; y: number }

    Anchor position in pixels relative to the requesting WebView's iframe origin. The palette is positioned adjacent to this point. If omitted, centers in the viewport.

    dismissOnClickOutside?: boolean

    Whether clicking outside dismisses the palette. Defaults to true.

    The selectable items to display

    maxHeight?: number

    Maximum height in pixels. Defaults to 400.

    maxWidth?: number

    Maximum width in pixels. Defaults to 500.

    placeholder?: string

    Placeholder text for the search input

    side?: "left" | "top" | "bottom" | "right"

    Preferred side of the anchor to place the palette. Defaults to 'bottom'.