Skip to content

ElectronWebContents.on('did-start-loading') method

ElectronWebContents › on(‘did-start-loading’)

Unofficial

Registers a listener for the did-start-loading event.

Signature:

on(event: "did-start-loading", listener: (...args: unknown[]) => void): this

Parameters:

Parameter Type Description
event "did-start-loading" The event name.
listener (...args: unknown[]) => void Called when the did-start-loading event is emitted.

Returns: thisThis web contents instance.