Skip to content

ElectronWebContents.on('unresponsive') method

ElectronWebContents › on(‘unresponsive’)

Unofficial

Registers a listener for the unresponsive event.

Signature:

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

Parameters:

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

Returns: thisThis web contents instance.