Applications Windows
Réduire la table des matières
Développer la table des matières
EN
Ce contenu n’est pas disponible dans votre langue. Voici la version anglaise.

networkState property

Gets the current network activity for the element.

HTML5 A vocabulary and associated APIs for HTML and XHTML, Section 4.8.9.4

 

Syntax

JavaScript

networkstate = object.networkState

 

Property values

Type: number

NETWORK_EMPTY (0)

The element has not yet been initialized. All attributes are in their initial states.

NETWORK_IDLE (1)

A resource is selected, but the network is not actively being used.

NETWORK_LOADING (2)

The browser is attempting to download data.

NETWORK_NO_SOURCE (3)

No media resource could be found.

Standards information

See also

audio element
audio object
media
video element
video object

 

 

Afficher:
© 2016 Microsoft