AboutSupportDeveloper GuideVersion 34.118.78.77

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.

Hierarchy

  • CloseRequestedEvent

Properties

Properties

name: string
topic: "window"

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

Remarks

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