@Generated(value="org.realityforge.webtack") @JsType(isNative=true, namespace="<global>", name="ProgressEvent") public class ProgressEvent extends Event
AT_TARGET, BUBBLING_PHASE, cancelBubble, CAPTURING_PHASE, NONE, returnValue
Constructor and Description |
---|
ProgressEvent(java.lang.String type)
The ProgressEvent() constructor returns a newly created ProgressEvent, representing the current completion of a long process.
|
ProgressEvent(java.lang.String type,
ProgressEventInit eventInitDict)
The ProgressEvent() constructor returns a newly created ProgressEvent, representing the current completion of a long process.
|
Modifier and Type | Method and Description |
---|---|
boolean |
lengthComputable()
The ProgressEvent.lengthComputable read-only property is a Boolean flag indicating if the resource concerned by the ProgressEvent has a length that can be calculated.
|
int |
loaded()
The ProgressEvent.loaded read-only property is an integer representing the amount of work already performed by the underlying process.
|
int |
total()
The ProgressEvent.total read-only property is an unsigned 64-bit integer value indicating the total size of the data being processed or transmitted.
|
bubbles, cancelable, composed, composedPath, currentTarget, defaultPrevented, eventPhase, initEvent, initEvent, initEvent, isTrusted, preventDefault, srcElement, stopImmediatePropagation, stopPropagation, target, timeStamp, type
public ProgressEvent(@Nonnull java.lang.String type, @Nonnull ProgressEventInit eventInitDict)
public ProgressEvent(@Nonnull java.lang.String type)
@JsProperty(name="lengthComputable") public boolean lengthComputable()
@JsProperty(name="loaded") public int loaded()
@JsProperty(name="total") public int total()