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:

ParameterTypeDescription
$event"found-in-page"
listener($event: ElectronEvent, result: ElectronResult) => voidCalled when the found-in-page event is emitted.

Returns: this — This web contents instance.