AboutSupportDeveloper GuideVersion 47.154.100.2
OpenFin JavaScript API
    Preparing search index...

    Interface TrayIconClickedEvent

    Generated when the tray icon is clicked.

    interface TrayIconClickedEvent {
        bounds: Rectangle;
        button: 0 | 1 | 2;
        monitorInfo: any;
        topic: "application";
        type: "tray-icon-clicked";
        uuid: string;
        x: number;
        y: number;
    }
    Index
    bounds: Rectangle
    button: 0 | 1 | 2
    monitorInfo: any
    topic: "application"

    The "kebab-case" classname of the emitter that raised the event.

    OpenFin.Frame is represented as iframe.

    type: "tray-icon-clicked"

    The type of event that was raised. Equal to the typename of the event payload in "kebab case".

    Guaranteed to be unique within each topic, but can be repeated between topics (e.g. WebContentsEvents.CrashedEvent and ApplicationEvents.CrashedEvent).

    uuid: string
    x: number
    y: number