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:

ParameterTypeDescription
event"enter-html-full-screen"The event name.
listener(...args: unknown[]) => voidCalled when the enter-html-full-screen event is emitted.

Returns: thisThis web contents instance.