readyState
Summary
The state of the request. Every request starts in the pending state. The state changes to done when the request completes successfully or when an error occurs.
Property of apis/indexeddb/IDBRequestapis/indexeddb/IDBRequest
Syntax
Note: This property is read-only.
var result = element.readyState;
Return Value
Returns an object of type enumenum
- pending (1) - The request has been started, but its result is not yet available.
- done (2) - The request has completed or an error has occurred. Initially false.
Syntax
Standards information
Attributions
Mozilla Developer Network : Article
Microsoft Developer Network: [Windows Internet Explorer API reference Article]