Skip to content

ElectronWebContents.on('plugin-crashed') method

ElectronWebContents › on(‘plugin-crashed’)

Unofficial

Registers a listener for the plugin-crashed event.

Signature:

on(event: "plugin-crashed", listener: (event: ElectronEvent, name: string, version: string) => void): this

Parameters:

Parameter Type Description
event "plugin-crashed" The event name.
listener (event: ElectronEvent, name: string, version: string) => void Called when the plugin-crashed event is emitted.

Returns: thisThis web contents instance.