ProgressEvent Class

https://xhr.spec.whatwg.org/#interface-progressevent

public sealed class ProgressEvent : Event
Inheritance
Event ProgressEvent

Constructors

NameDescription
ProgressEvent(string, ProgressEventInit?)Creates a progress event with the given type and initialization dictionary.

ProgressEvent(string, ProgressEventInit?)

HtmlEvents.cs

Creates a progress event with the given type and initialization dictionary.

public ProgressEvent(string type, ProgressEventInit? eventInitDict = null)

Properties

NameDescription
LengthComputableGets a value indicating whether the total amount of work is known.
LoadedGets the amount of work already performed.
TotalGets the total amount of work to perform.

LengthComputable

HtmlEvents.cs

Gets a value indicating whether the total amount of work is known.

public bool LengthComputable { get; }

Gets the amount of work already performed.

public double Loaded { get; }

Gets the total amount of work to perform.

public double Total { get; }