AboutSupportDeveloper GuideVersion 38.126.83.79

Generated when a window has been prevented from closing.

Remarks

A window will be prevented from closing by default, either through the API or by a user when ‘close-requested’ has been subscribed to and the Window.close(force) flag is false.

interface CloseRequestedEvent {
    name: string;
    topic: "window";
    type: "close-requested";
    uuid: string;
}

Properties

Properties

name: string
topic: "window"

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

Remarks

OpenFin.Frame is represented as iframe.

type: "close-requested"

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