CreateMonitor: downloadprogress event
Summarizer API
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
- Using the Summarizer API
- Web AI demos on chrome.dev.