CreateMonitor: downloadprogress event
Experimental: This is an experimental technology
Check the Browser compatibility table carefully before using this in production.
Secure context: This feature is available only in secure contexts (HTTPS), in some or all supporting browsers.
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.
js
addEventListener("downloadprogress", (event) => { })
ondownloadprogress = (event) => { }
Event type
A ProgressEvent. Inherits from Event.
Examples
See the main CreateMonitor page for an example.
Specifications
| Specification |
|---|
| Writing Assistance APIs # dom-createmonitor-ondownloadprogress |
Browser compatibility
| desktop | mobile | server | ||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
downloadprogress event
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Legend
Tip: you can click/tap on a cell for more information.
- Full support
- Full support
- No support
- No support
- Experimental. Expect behavior to change in the future.
- See implementation notes.
- User must explicitly enable this feature.
See also
- Using the Summarizer API
- Web AI demos on chrome.dev.