AboutSupportDeveloper GuideVersion 41.132.100.56

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.

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