AboutSupportDeveloper GuideVersion 38.126.83.75

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;
}

Properties

context: any
name: string
reason: "updated" | "reparented"
target: Identity
topic: "view"

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

Remarks

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".

Remarks

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

uuid: string