AboutSupportDeveloper GuideVersion 41.131.100.46

Generated when a window has been prevented from closing.

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.

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".

Guaranteed to be unique within each topic, but can be repeated between topics (e.g. WebContentsEvents.CrashedEvent and ApplicationEvents.CrashedEvent).

uuid: string