ElectronWebContents.on('blur') method
ElectronWebContents › on(‘blur’)
Unofficial
Registers a listener for theblur event. Signature:
on(event: "blur", listener: (...args: unknown[]) => void): thisParameters:
| Parameter | Type | Description |
|---|---|---|
| event | "blur" | The event name. |
| listener | (...args: unknown[]) => void | Called when the blur event is emitted. |
Returns: this — This web contents instance.