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"The event name.
listener(event: ElectronEvent, result: ElectronResult) => voidCalled when the found-in-page event is emitted.

Returns: thisThis web contents instance.