foo-webview-sdk
    Preparing search index...

    Interface TrayBeforeContextMenuPayload

    Payload of the tray:beforeContextMenu event. The tray context menu is about to open on a right click. The menu does not wait for the page, so changes a handler makes to it take effect from the next right click. It is sent even when the menu has no visible row and nothing opens.

    interface TrayBeforeContextMenuPayload {
        x: number;
        y: number;
    }
    Index
    x y
    x: number

    Screen x of the cursor, where the menu opens.

    y: number

    Screen y of the cursor, where the menu opens.