A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://webplatform.github.io/docs/dom/ProgressEvent/initProgressEvent below:

initProgressEvent · WebPlatform Docs

initProgressEvent Summary

Initializes the value of a ProgressEvent object.

Method of dom/ProgressEventdom/ProgressEvent

Syntax
var object = object.initProgressEvent();
Parameters typeArg
Data-type
String

The value of this parameter must be one of the following values. ‘loadstart’ An operation has started. ‘progress’ An operation is in progress. ‘error’ The operation failed to complete. ‘abort’ The operation was cancelled. ‘load’ The operation completed successfully.

canBubbleArg
Data-type
Boolean

Specifies whether an event bubbles.

cancelableArg
Data-type
Boolean

Specifies whether an event can be cancelled.

lengthComputable
Data-type
Boolean

Indicates whether the value of the total attribute of the ProgressEvent is accurate.

loadedArg
Data-type
unsigned long

Specifies the number of bytes already loaded or zero if not known.

totalArg
Data-type
unsigned long

Specifies the number of bytes to be loaded. If lengthComputable is false, this must be zero (“0”).

Return Value

Returns an object of type DOM NodeDOM Node

Type: HRESULT

This method can return one of these values.

S_OK

Notes

Depreciated This feature has been removed from the Web. Though some browsers may still support it, it is in the process of being dropped. Do not use it in old or new projects. Pages or Web apps using it may break at any time.

Non-standard This feature is non-standard and is not on a standards track. Do not use it on production sites facing the Web: it will not work for every user. There may also be large incompatibilities between implementations and the behavior may change in the future.

Syntax

var retval = ProgressEvent.initProgressEvent(typeArg, canBubbleArg, cancelableArg, lengthComputable, loadedArg, totalArg);

Attributions

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4