Liking cljdoc? Tell your friends :D

idb.IDBRequest

The request object does not initially contain any information the result of the operation, but once information becomes available, event is fired on the request, and the information becomes available the properties of the IDBRequest instance.

The request object does not initially contain any information
the result of the operation, but once information becomes available,
event is fired on the request, and the information becomes available
the properties of the IDBRequest instance.
raw docstring

errorcljs

(error this)

Property.

A dom.DOMError containing the relevant error. In Chrome 48+/Firefox this property returns a dom.DOMException because DOMError has removed from the DOM standard. The following error codes are under certain conditions:

var myError = request.error;

See also: https://developer.mozilla.org/en-US/docs/Web/API/IDBRequest/error

Property.

A `dom.DOMError` containing the relevant error. In Chrome 48+/Firefox
this property returns a `dom.DOMException` because DOMError has
removed from the DOM standard. The following error codes are
under certain conditions:

`var myError = request.error;`

See also: `https://developer.mozilla.org/en-US/docs/Web/API/IDBRequest/error`
sourceraw docstring

onerrorcljs

(onerror this)

Property.

The following example requests a given record title, onsuccess the associated record from the idb.IDBObjectStore (made available objectStoreTitleRequest.result), updates one property of the and then puts the updated record back into the object store. included at the bottom is an onerror function that reports what error was if the request fails. For a full working example, see To-do Notifications app (view example live.)

request.onerror = function(event) { ... };

See also: https://developer.mozilla.org/en-US/docs/Web/API/IDBRequest/onerror

Property.

The following example requests a given record title, onsuccess
the associated record from the `idb.IDBObjectStore` (made available
objectStoreTitleRequest.result), updates one property of the
and then puts the updated record back into the object store.
included at the bottom is an onerror function that reports what
error was if the request fails. For a full working example, see
To-do Notifications app (view example live.)

`request.onerror = function(event) { ... };`

See also: `https://developer.mozilla.org/en-US/docs/Web/API/IDBRequest/onerror`
sourceraw docstring

onsuccesscljs

(onsuccess this)

Property.

The following example requests a given record title, onsuccess the associated record from the idb.IDBObjectStore (made available objectStoreTitleRequest.result), updates one property of the and then puts the updated record back into the object store. a full working example, see our To-do Notifications app (view live.)

request.onsuccess = function(event) { ... };

See also: https://developer.mozilla.org/en-US/docs/Web/API/IDBRequest/onsuccess

Property.

The following example requests a given record title, onsuccess
the associated record from the `idb.IDBObjectStore` (made available
objectStoreTitleRequest.result), updates one property of the
and then puts the updated record back into the object store.
a full working example, see our To-do Notifications app (view
live.)

`request.onsuccess = function(event) { ... };`

See also: `https://developer.mozilla.org/en-US/docs/Web/API/IDBRequest/onsuccess`
sourceraw docstring

ready-statecljs

(ready-state this)

Property.

The idb.IDBRequestReadyState of the request, which takes one the following two values:

var currentReadyState = request.readyState;

See also: https://developer.mozilla.org/en-US/docs/Web/API/IDBRequest/readyState

Property.

The `idb.IDBRequestReadyState` of the request, which takes one
the following two values:

`var currentReadyState = request.readyState;`

See also: `https://developer.mozilla.org/en-US/docs/Web/API/IDBRequest/readyState`
sourceraw docstring

resultcljs

(result this)

Property.

any

var myResult = request.result;

See also: https://developer.mozilla.org/en-US/docs/Web/API/IDBRequest/result

Property.

any

`var myResult = request.result;`

See also: `https://developer.mozilla.org/en-US/docs/Web/API/IDBRequest/result`
sourceraw docstring

set-error!cljs

(set-error! this val)

Property.

A dom.DOMError containing the relevant error. In Chrome 48+/Firefox this property returns a dom.DOMException because DOMError has removed from the DOM standard. The following error codes are under certain conditions:

var myError = request.error;

See also: https://developer.mozilla.org/en-US/docs/Web/API/IDBRequest/error

Property.

A `dom.DOMError` containing the relevant error. In Chrome 48+/Firefox
this property returns a `dom.DOMException` because DOMError has
removed from the DOM standard. The following error codes are
under certain conditions:

`var myError = request.error;`

See also: `https://developer.mozilla.org/en-US/docs/Web/API/IDBRequest/error`
sourceraw docstring

set-onerror!cljs

(set-onerror! this val)

Property.

The following example requests a given record title, onsuccess the associated record from the idb.IDBObjectStore (made available objectStoreTitleRequest.result), updates one property of the and then puts the updated record back into the object store. included at the bottom is an onerror function that reports what error was if the request fails. For a full working example, see To-do Notifications app (view example live.)

request.onerror = function(event) { ... };

See also: https://developer.mozilla.org/en-US/docs/Web/API/IDBRequest/onerror

Property.

The following example requests a given record title, onsuccess
the associated record from the `idb.IDBObjectStore` (made available
objectStoreTitleRequest.result), updates one property of the
and then puts the updated record back into the object store.
included at the bottom is an onerror function that reports what
error was if the request fails. For a full working example, see
To-do Notifications app (view example live.)

`request.onerror = function(event) { ... };`

See also: `https://developer.mozilla.org/en-US/docs/Web/API/IDBRequest/onerror`
sourceraw docstring

set-onsuccess!cljs

(set-onsuccess! this val)

Property.

The following example requests a given record title, onsuccess the associated record from the idb.IDBObjectStore (made available objectStoreTitleRequest.result), updates one property of the and then puts the updated record back into the object store. a full working example, see our To-do Notifications app (view live.)

request.onsuccess = function(event) { ... };

See also: https://developer.mozilla.org/en-US/docs/Web/API/IDBRequest/onsuccess

Property.

The following example requests a given record title, onsuccess
the associated record from the `idb.IDBObjectStore` (made available
objectStoreTitleRequest.result), updates one property of the
and then puts the updated record back into the object store.
a full working example, see our To-do Notifications app (view
live.)

`request.onsuccess = function(event) { ... };`

See also: `https://developer.mozilla.org/en-US/docs/Web/API/IDBRequest/onsuccess`
sourceraw docstring

set-ready-state!cljs

(set-ready-state! this val)

Property.

The idb.IDBRequestReadyState of the request, which takes one the following two values:

var currentReadyState = request.readyState;

See also: https://developer.mozilla.org/en-US/docs/Web/API/IDBRequest/readyState

Property.

The `idb.IDBRequestReadyState` of the request, which takes one
the following two values:

`var currentReadyState = request.readyState;`

See also: `https://developer.mozilla.org/en-US/docs/Web/API/IDBRequest/readyState`
sourceraw docstring

set-result!cljs

(set-result! this val)

Property.

any

var myResult = request.result;

See also: https://developer.mozilla.org/en-US/docs/Web/API/IDBRequest/result

Property.

any

`var myResult = request.result;`

See also: `https://developer.mozilla.org/en-US/docs/Web/API/IDBRequest/result`
sourceraw docstring

set-source!cljs

(set-source! this val)

Property.

An object representing the source of the request, such as an idb.IDBObjectStore or idb.IDBCursor.

var IDBIndex = request.source; var IDBCursor = request.source; var IDBObjectStore = request.source;

See also: https://developer.mozilla.org/en-US/docs/Web/API/IDBRequest/source

Property.

An object representing the source of the request, such as an
`idb.IDBObjectStore` or `idb.IDBCursor`.

`var IDBIndex = request.source;
var IDBCursor = request.source;
var IDBObjectStore = request.source;`

See also: `https://developer.mozilla.org/en-US/docs/Web/API/IDBRequest/source`
sourceraw docstring

set-transaction!cljs

(set-transaction! this val)

Property.

An idb.IDBTransaction.

var myTransaction = request.transaction;

See also: https://developer.mozilla.org/en-US/docs/Web/API/IDBRequest/transaction

Property.

An `idb.IDBTransaction`.

`var myTransaction = request.transaction;`

See also: `https://developer.mozilla.org/en-US/docs/Web/API/IDBRequest/transaction`
sourceraw docstring

sourcecljs

(source this)

Property.

An object representing the source of the request, such as an idb.IDBObjectStore or idb.IDBCursor.

var IDBIndex = request.source; var IDBCursor = request.source; var IDBObjectStore = request.source;

See also: https://developer.mozilla.org/en-US/docs/Web/API/IDBRequest/source

Property.

An object representing the source of the request, such as an
`idb.IDBObjectStore` or `idb.IDBCursor`.

`var IDBIndex = request.source;
var IDBCursor = request.source;
var IDBObjectStore = request.source;`

See also: `https://developer.mozilla.org/en-US/docs/Web/API/IDBRequest/source`
sourceraw docstring

transactioncljs

(transaction this)

Property.

An idb.IDBTransaction.

var myTransaction = request.transaction;

See also: https://developer.mozilla.org/en-US/docs/Web/API/IDBRequest/transaction

Property.

An `idb.IDBTransaction`.

`var myTransaction = request.transaction;`

See also: `https://developer.mozilla.org/en-US/docs/Web/API/IDBRequest/transaction`
sourceraw docstring

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close