MDN self-hosted library · e01.org

CreateMonitor: downloadprogress event

Summarizer API

no runnable cells web-api-event upstream source

Summarizer API

The downloadprogress event of the CreateMonitor interface is fired when progress is made on the AI model download.

Syntax

Use the event name in addEventListener():

addEventListener("downloadprogress", (event) => { })

Alternatively, assign to the event handler property of the interface:

ondownloadprogress = (event) => { }

Event type

A ProgressEvent. Inherits from Event.

ProgressEvent

Examples

See the main CreateMonitor page for an example.

Specifications

Browser compatibility

See also