Liking cljdoc? Tell your friends :D

web.PermissionStatus

The PermissionStatus interface of the Permissions API provides state of an object and an event handler for monitoring changes said state.

The PermissionStatus interface of the Permissions API provides
state of an object and an event handler for monitoring changes
said state.
raw docstring

onchangecljs

(onchange this)

Property.

The onchange event handler of the web.PermissionStatus interface called whenever the web.PermissionStatus.state property changes.

PermissionStatus.onchange = function() { ... } PermissionStatus.addEventListener('change', function() { ... })

See also: https://developer.mozilla.org/en-US/docs/Web/API/PermissionStatus/onchange

Property.

The onchange event handler of the `web.PermissionStatus` interface
called whenever the `web.PermissionStatus.state` property changes.

`PermissionStatus.onchange = function() { ... }
PermissionStatus.addEventListener('change', function() { ... })`

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

set-onchange!cljs

(set-onchange! this val)

Property.

The onchange event handler of the web.PermissionStatus interface called whenever the web.PermissionStatus.state property changes.

PermissionStatus.onchange = function() { ... } PermissionStatus.addEventListener('change', function() { ... })

See also: https://developer.mozilla.org/en-US/docs/Web/API/PermissionStatus/onchange

Property.

The onchange event handler of the `web.PermissionStatus` interface
called whenever the `web.PermissionStatus.state` property changes.

`PermissionStatus.onchange = function() { ... }
PermissionStatus.addEventListener('change', function() { ... })`

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

set-state!cljs

(set-state! this val)

Property.

The state read-only property of the web.PermissionStatus interface the state of a requested permission. This property returns one 'granted', 'denied', or 'prompt'.

var permission = PermissionStatus.state;

See also: https://developer.mozilla.org/en-US/docs/Web/API/PermissionStatus/state

Property.

The state read-only property of the `web.PermissionStatus` interface
the state of a requested permission. This property returns one
'granted', 'denied', or 'prompt'.

`var permission = PermissionStatus.state;`

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

statecljs

(state this)

Property.

The state read-only property of the web.PermissionStatus interface the state of a requested permission. This property returns one 'granted', 'denied', or 'prompt'.

var permission = PermissionStatus.state;

See also: https://developer.mozilla.org/en-US/docs/Web/API/PermissionStatus/state

Property.

The state read-only property of the `web.PermissionStatus` interface
the state of a requested permission. This property returns one
'granted', 'denied', or 'prompt'.

`var permission = PermissionStatus.state;`

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

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

× close