Skip to content

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

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

Unofficial

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

Signature:

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

Parameters:

ParameterTypeDescription
event"did-stop-loading"The event name.
listener(...args: unknown[]) => voidCalled when the did-stop-loading event is emitted.

Returns: thisThis web contents instance.