Skip to content

ElectronWebContents.on('responsive') method

ElectronWebContents › on(‘responsive’)

Unofficial

Registers a listener for the responsive event.

Signature:

on(event: "responsive", listener: (...args: unknown[]) => void): this

Parameters:

ParameterTypeDescription
event"responsive"The event name.
listener(...args: unknown[]) => voidCalled when the responsive event is emitted.

Returns: thisThis web contents instance.