foo-webview-sdk
    Preparing search index...

    Interface MenuPopupPosition

    Anchor position for a self-drawn popup menu, in screen pixels. Either coordinate may be omitted to fall back to the cursor position.

    interface MenuPopupPosition {
        x?: number;
        y?: number;
    }
    Index
    x?: number

    Screen-space X anchor; defaults to the current cursor X.

    y?: number

    Screen-space Y anchor; defaults to the current cursor Y.