foo-webview-sdk
    Preparing search index...

    Interface TrayClickPayload

    Payload of the tray:click event. The tray icon was clicked with the left button, on release. A right click opens the context menu instead and sends tray:beforeContextMenu. Only emitted in the event click action.

    interface TrayClickPayload {
        button: number;
        x: number;
        y: number;
    }
    Index
    button: number

    Always 0, the left button.

    x: number

    Cursor x in screen coordinates.

    y: number

    Cursor y in screen coordinates.