ElectronWebContents.on('page-title-updated') method
ElectronWebContents › on(‘page-title-updated’)
Unofficial
Registers a listener for thepage-title-updated event.Signature:
on($event: "page-title-updated", listener: ($event: ElectronEvent, title: string, explicitSet: boolean) => void): thisParameters:
| Parameter | Type | Description |
|---|---|---|
| $event | "page-title-updated" | |
| listener | ($event: ElectronEvent, title: string, explicitSet: boolean) => void | Called when the page-title-updated event is emitted. |
Returns: this — This web contents instance.