ElectronWebContents.on('did-start-loading') method
ElectronWebContents › on(‘did-start-loading’)
Unofficial
Registers a listener for thedid-start-loading event. Signature:
on(event: "did-start-loading", listener: (...args: unknown[]) => void): thisParameters:
| Parameter | Type | Description |
|---|---|---|
| event | "did-start-loading" | The event name. |
| listener | (...args: unknown[]) => void | Called when the did-start-loading event is emitted. |
Returns: this — This web contents instance.