Skip to content

ElectronWebContents.on('page-favicon-updated') method

ElectronWebContents › on(‘page-favicon-updated’)

Unofficial

Registers a listener for the page-favicon-updated event.

Signature:

on($event: "page-favicon-updated", listener: ($event: ElectronEvent, favicons: string[]) => void): this

Parameters:

ParameterTypeDescription
$event"page-favicon-updated"
listener($event: ElectronEvent, favicons: string[]) => voidCalled when the page-favicon-updated event is emitted.

Returns: this — This web contents instance.