Liking cljdoc? Tell your friends :D

web.permissions.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.permissions.PermissionStatus is called whenever the 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.permissions.PermissionStatus`
is called whenever the `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.permissions.PermissionStatus is called whenever the 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.permissions.PermissionStatus`
is called whenever the `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.permissions.PermissionStatus returns the state of a requested permission. This property returns of '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.permissions.PermissionStatus`
returns the state of a requested permission. This property returns
of '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.permissions.PermissionStatus returns the state of a requested permission. This property returns of '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.permissions.PermissionStatus`
returns the state of a requested permission. This property returns
of '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