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:

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

Returns: thisThis web contents instance.