ElectronWebContents.on('leave-html-full-screen') method
ElectronWebContents › on(‘leave-html-full-screen’)
Unofficial
Registers a listener for theleave-html-full-screen event. Signature:
on(event: "leave-html-full-screen", listener: (...args: unknown[]) => void): thisParameters:
| Parameter | Type | Description |
|---|---|---|
| event | "leave-html-full-screen" | The event name. |
| listener | (...args: unknown[]) => void | Called when the leave-html-full-screen event is emitted. |
Returns: this — This web contents instance.