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

    Interface HostContextChangedEvent

    Generated when the context of a View's host window changes, either due to a call to Platform.setWindowContext, or because the View has moved to a new window. Only available on Views in a Platform.

    interface HostContextChangedEvent {
        context: any;
        name: string;
        reason: "updated" | "reparented";
        target: Identity;
        topic: "view";
        type: "host-context-changed";
        uuid: string;
    }
    Index
    context: any
    name: string
    reason: "updated" | "reparented"
    target: Identity
    topic: "view"

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

    OpenFin.Frame is represented as iframe.

    type: "host-context-changed"

    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