ElectronWebContents.on('plugin-crashed') method
ElectronWebContents › on(‘plugin-crashed’)
Unofficial
Registers a listener for theplugin-crashed event.Signature:
on($event: "plugin-crashed", listener: ($event: ElectronEvent, name: string, version: string) => void): thisParameters:
| Parameter | Type | Description |
|---|---|---|
| $event | "plugin-crashed" | |
| listener | ($event: ElectronEvent, name: string, version: string) => void | Called when the plugin-crashed event is emitted. |
Returns: this — This web contents instance.