web api event
CreateMonitor: downloadprogress event
Limited availabilitySecure context
The downloadprogress event of the CreateMonitor interface is fired when progress is made on the AI model download.
Syntax
Use the event name in methods like addEventListener(), or set an event handler property.
addEventListener("downloadprogress", (event) => { })
ondownloadprogress = (event) => { }
Event type
A ProgressEvent. Inherits from Event.
Examples
See the main CreateMonitor page for an example.
Specifications
SpecificationsStandards references are available on the canonical MDN page.
Browser compatibility
Browser compatibilityCompatibility data is available on the canonical MDN page.
See also
- Using the Summarizer API
- Web AI demos on chrome.dev.