W3cubDocs

/Deno

ProgressEvent

Events measuring progress of an underlying process, like an HTTP request (for an XMLHttpRequest, or the loading of the underlying resource of an , , , or ).

class ProgressEvent<T extends EventTarget = EventTarget> extends Event {
constructor(type: string, eventInitDict?: ProgressEventInit);
readonly lengthComputable: boolean;
readonly loaded: number;
readonly target: T | null;
readonly total: number;
}

Type Parameters

Extends

Event

Constructors

new ProgressEvent(type: string, eventInitDict?: ProgressEventInit)

Properties

lengthComputable: boolean
loaded: number
target: T | null
total: number

© 2018–2021 the Deno authors
https://doc.deno.land/deno/stable/~/ProgressEvent