ElectronWebContents.on('found-in-page') method
ElectronWebContents › on(‘found-in-page’)
Unofficial
Registers a listener for thefound-in-page event. Signature:
on(event: "found-in-page", listener: (event: ElectronEvent, result: ElectronResult) => void): thisParameters:
| Parameter | Type | Description |
|---|---|---|
| event | "found-in-page" | The event name. |
| listener | (event: ElectronEvent, result: ElectronResult) => void | Called when the found-in-page event is emitted. |
Returns: this — This web contents instance.