This page is Not Ready

Notice: The WebPlatform project, supported by various stewards between 2012 and 2015, has been discontinued. This site is now available on github.

readyState




Property of dom/Elementdom/Element

Syntax

var result = element.readyState;
element.readyState = value;


Notes


Remarks

The FileReader object can be in one of three states.

Constant Value Description
EMPTY 0 The FileReader object has been constructed, and there are no pending reads. None of the read methods have been called. This is the default state of a newly created FileReader object, until one of the read methods has been called on it.
LOADING 1 A File or Blob is being read. One of the read methods is being processed, and no error has occurred during the read.
DONE 2 The entire File or Blob has been read into memory, a file error occurred during read, or the read was aborted using abort. The FileReader is no longer reading a File or Blob. If readyState is set to DONE it means at least one of the read methods have been called on this FileReader object.

Syntax

See also

Related pages

Attributions