Liking cljdoc? Tell your friends :D
ClojureScript only.

web.locks.Lock

The Lock interface of the the Web Locks API provides the name mode of a previously requested lock, which is received in the to LockManager.request().

The Lock interface of the the Web Locks API provides the name
mode of a previously requested lock, which is received in the
to `LockManager.request()`.
raw docstring

modecljs

(mode this)

Property.

The mode read-only property of the web.locks.Lock interface the access mode passed to LockManager.request() when the lock requested. The mode is either "exclusive" (the default) or

var mode = Lock.mode

See also: https://developer.mozilla.org/en-US/docs/Web/API/Lock/mode

Property.

The mode read-only property of the `web.locks.Lock` interface
the access mode passed to `LockManager.request()` when the lock
requested. The mode is either \"exclusive\" (the default) or

`var mode = Lock.mode`

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

namecljs

(name this)

Property.

The name read-only property of the web.locks.Lock interface the name passed to LockManager.request selected when the lock requested.

var name = Lock.name

See also: https://developer.mozilla.org/en-US/docs/Web/API/Lock/name

Property.

The name read-only property of the `web.locks.Lock` interface
the name passed to `LockManager.request` selected when the lock
requested.

`var name = Lock.name`

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

set-mode!cljs

(set-mode! this val)

Property.

The mode read-only property of the web.locks.Lock interface the access mode passed to LockManager.request() when the lock requested. The mode is either "exclusive" (the default) or

var mode = Lock.mode

See also: https://developer.mozilla.org/en-US/docs/Web/API/Lock/mode

Property.

The mode read-only property of the `web.locks.Lock` interface
the access mode passed to `LockManager.request()` when the lock
requested. The mode is either \"exclusive\" (the default) or

`var mode = Lock.mode`

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

set-name!cljs

(set-name! this val)

Property.

The name read-only property of the web.locks.Lock interface the name passed to LockManager.request selected when the lock requested.

var name = Lock.name

See also: https://developer.mozilla.org/en-US/docs/Web/API/Lock/name

Property.

The name read-only property of the `web.locks.Lock` interface
the name passed to `LockManager.request` selected when the lock
requested.

`var name = Lock.name`

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

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

× close