AboutSupportDeveloper GuideVersion 38.126.82.69

Generated when a View is shown.

Remarks

An OpenFin View's shown event is only emitted when specific View APIs are called. This event can fire when calling:

  • view.show() or view.showAt() - If a View is previously hidden, a shown event will be fired.

  • view.attach() - If a View is hidden and attached to a new Window, it will be shown and the shown event will be fired.

  • view.create() - A View shown event will be fired. (Internally the attach method is called when calling the create method, which fires the shown event.)

interface ShownEvent {
    name: string;
    target: Identity;
    topic: "view";
    type: "shown";
    uuid: string;
}

Properties

name: string
target: Identity
topic: "view"

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

Remarks

OpenFin.Frame is represented as iframe.

type: "shown"

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