Skip to content

ElectronWebContents.on('enter-html-full-screen') method

ElectronWebContents › on(‘enter-html-full-screen’)

Unofficial

Registers a listener for the enter-html-full-screen event.

Signature:

on(event: "enter-html-full-screen", listener: (...args: unknown[]) => void): this

Parameters:

Parameter Type Description
event "enter-html-full-screen" The event name.
listener (...args: unknown[]) => void Called when the enter-html-full-screen event is emitted.

Returns: thisThis web contents instance.