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:

ParameterTypeDescription
event"plugin-crashed"The event name.
listener(event: ElectronEvent, name: string, version: string) => voidCalled when the plugin-crashed event is emitted.

Returns: thisThis web contents instance.