Skip to content

ElectronWebContents.on('found-in-page') method

ElectronWebContents › on(‘found-in-page’)

Unofficial

Registers a listener for the found-in-page event.

Signature:

on(event: "found-in-page", listener: (event: ElectronEvent, result: ElectronResult) => void): this

Parameters:

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: thisThis web contents instance.