AboutSupportDeveloper GuideVersion 38.126.82.64

Generated when a View changes its window target.

Remarks

This event will fire during creation of a View. In that case, previousTarget identity will be the same as target identity.

interface TargetChangedEvent {
    name: string;
    previousTarget: Identity;
    target: Identity;
    topic: "view";
    type: "target-changed";
    uuid: string;
}

Properties

name: string
previousTarget: Identity
target: Identity
topic: "view"

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

Remarks

OpenFin.Frame is represented as iframe.

type: "target-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