AboutSupportDeveloper GuideVersion 40.130.100.7

Generated when a window has a view detached from it.

Will fire when a view is destroyed in which case target will be null.

interface ViewDetachedEvent {
    name: string;
    previousTarget: Identity;
    target: null | Identity;
    topic: "window";
    type: "view-detached";
    uuid: string;
    viewIdentity: Identity;
}

Properties

name: string
previousTarget: Identity
target: null | Identity
topic: "window"

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

OpenFin.Frame is represented as iframe.

type: "view-detached"

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
viewIdentity: Identity