Liking cljdoc? Tell your friends :D

idb.IDBOpenDBRequest

Also inherits methods from its parents idb.IDBRequest and web.EventTarget.

Also inherits methods from its parents `idb.IDBRequest` and `web.EventTarget`.
raw docstring

onblockedcljs

(onblocked this)

Property.

The onblocked event handler of the idb.IDBOpenDBRequest interface the event handler for the blocked event. This event is triggered the upgradeneeded should be triggered because of a version change the database is still in use (that is, not closed) somewhere, after the versionchange event was sent.

IDBOpenDBRequest.onblocked = function(event) { ... };

See also: https://developer.mozilla.org/en-US/docs/Web/API/IDBOpenDBRequest/onblocked

Property.

The onblocked event handler of the `idb.IDBOpenDBRequest` interface
the event handler for the blocked event. This event is triggered
the upgradeneeded should be triggered because of a version change
the database is still in use (that is, not closed) somewhere,
after the versionchange event was sent.

`IDBOpenDBRequest.onblocked = function(event) { ... };`

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

onupgradeneededcljs

(onupgradeneeded this)

Property.

In the following example you can see the onupgradeneeded handler used to update the database structure if a database with a higher number is loaded. For a full working example, see our To-do Notifications (view example live.)

IDBOpenDBRequest.onupgradeneeded = function(event) { ... };

See also: https://developer.mozilla.org/en-US/docs/Web/API/IDBOpenDBRequest/onupgradeneeded

Property.

In the following example you can see the onupgradeneeded handler
used to update the database structure if a database with a higher
number is loaded. For a full working example, see our To-do Notifications
(view example live.)

`IDBOpenDBRequest.onupgradeneeded = function(event) { ... };`

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

set-onblocked!cljs

(set-onblocked! this val)

Property.

The onblocked event handler of the idb.IDBOpenDBRequest interface the event handler for the blocked event. This event is triggered the upgradeneeded should be triggered because of a version change the database is still in use (that is, not closed) somewhere, after the versionchange event was sent.

IDBOpenDBRequest.onblocked = function(event) { ... };

See also: https://developer.mozilla.org/en-US/docs/Web/API/IDBOpenDBRequest/onblocked

Property.

The onblocked event handler of the `idb.IDBOpenDBRequest` interface
the event handler for the blocked event. This event is triggered
the upgradeneeded should be triggered because of a version change
the database is still in use (that is, not closed) somewhere,
after the versionchange event was sent.

`IDBOpenDBRequest.onblocked = function(event) { ... };`

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

set-onupgradeneeded!cljs

(set-onupgradeneeded! this val)

Property.

In the following example you can see the onupgradeneeded handler used to update the database structure if a database with a higher number is loaded. For a full working example, see our To-do Notifications (view example live.)

IDBOpenDBRequest.onupgradeneeded = function(event) { ... };

See also: https://developer.mozilla.org/en-US/docs/Web/API/IDBOpenDBRequest/onupgradeneeded

Property.

In the following example you can see the onupgradeneeded handler
used to update the database structure if a database with a higher
number is loaded. For a full working example, see our To-do Notifications
(view example live.)

`IDBOpenDBRequest.onupgradeneeded = function(event) { ... };`

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

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

× close