Liking cljdoc? Tell your friends :D

web.Notification

The Notification interface of the Notifications API is used to and display desktop notifications to the user.

The Notification interface of the Notifications API is used to
and display desktop notifications to the user.
raw docstring

actionscljs

(actions this)

Property.

The actions read-only property of the web.Notification interface the list of web.NotificationAction objects set using the actions when creating the notification using the web.Notification()

var actions[] = Notification.actions;

See also: https://developer.mozilla.org/en-US/docs/Web/API/notification/actions

Property.

The actions read-only property of the `web.Notification` interface
the list of `web.NotificationAction` objects set using the actions
when creating the notification using the `web.Notification()`

`var actions[] = Notification.actions;`

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

badgecljs

(badge this)

Property.

The badge property of the web.Notification interface returns URL of the image used to represent the notification when there not enough space to display the notification itself.

var url = Notification.badge

See also: https://developer.mozilla.org/en-US/docs/Web/API/notification/badge

Property.

The badge property of the `web.Notification` interface returns
URL of the image used to represent the notification when there
not enough space to display the notification itself.

`var url = Notification.badge`

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

bodycljs

(body this)

Property.

The body read-only property of the web.Notification interface the body string of the notification, as specified in the body of the web.Notification() constructor.

var body = Notification.body;

See also: https://developer.mozilla.org/en-US/docs/Web/API/Notification/body

Property.

The body read-only property of the `web.Notification` interface
the body string of the notification, as specified in the body
of the `web.Notification()` constructor.

`var body = Notification.body;`

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

closecljs

(close this)

Method.

The close() method of the web.Notification interface is used close a previously displayed notification.

Notification.close();

See also: https://developer.mozilla.org/en-US/docs/Web/API/Notification/close

Method.

The close() method of the `web.Notification` interface is used
close a previously displayed notification.

`Notification.close();`

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

constructorcljs

Constructor.

The Notification() constructor creates a new web.Notification object instance, which represents a user notification.

title Defines a title for the notification, which is shown at the top of the notification window. options Optional An options object containing any custom settings that you want to apply to the notification. The possible options are:

dir: The direction in which to display the notification. It defaults to auto, which just adopts the browser's language setting behavior, but you can override that behaviour by setting values of ltr and rtl (although most browsers seem to ignore these settings.) lang: The notification's language, as specified using a dom.DOMString representing a BCP 47 language tag. See the Sitepoint ISO 2 letter language codes page for a simple reference. badge: A web.USVString containing the URL of the image used to represent the notification when there isn't enough space to display the notification itself. body: A dom.DOMString representing the body text of the notification, which is displayed below the title. tag: A dom.DOMString representing an identifying tag for the notification. icon: A web.USVString containing the URL of an icon to be displayed in the notification. image: a web.USVString containing the URL of an image to be displayed in the notification. data: Arbitrary data that you want associated with the notification. This can be of any data type. vibrate: A vibration pattern for the device's vibration hardware to emit with the notification. renotify: A web.Boolean specifying whether the user should be notified after a new notification replaces an old one. The default is false, which means they won't be notified. requireInteraction: Indicates that a notification should remain active until the user clicks or dismisses it, rather than closing automatically. The default value is false. actions: An array of web.NotificationActions representing the actions available to the user when the notification is presented. These are options the user can choose among in order to act on the action within the context of the notification itself. The action's name is sent to the service worker notification handler to let it know the action was selected by the user.

The following options are listed in the most up-to-date specification, but aren 't supported in any browsers yet. It's advisable to keep checking back regularly to see if the status of these has updated, and let us know if you find any out-of-date information.

silent: A web.Boolean specifying whether the notification is silent (no sounds or vibrations issued), regardless of the device settings. The default is false, which means it won't be silent. noscreen: A web.Boolean specifying whether the notification firing enable the device's screen or not. The default is false, which means it enables the screen. sticky: A web.Boolean specifying whether the notification is "sticky", i.e. not easily clearable by the user. The default is false, which means it won't be sticky.

See also: https://developer.mozilla.org/en-US/docs/Web/API/notification/Notification

Constructor.

The Notification() constructor creates a new `web.Notification` object instance, which represents a user notification.

title
Defines a title for the notification, which is shown at the top of the notification window.
options Optional
An options object containing any custom settings that you want to apply to the notification. The possible options are:

dir: The direction in which to display the notification. It defaults to auto, which just adopts the browser's language setting behavior, but you can override that behaviour by setting values of ltr and rtl (although most browsers seem to ignore these settings.)
lang: The notification's language, as specified using a `dom.DOMString` representing a BCP 47 language tag. See the Sitepoint ISO 2 letter language codes page for a simple reference.
badge: A `web.USVString` containing the URL of the image used to represent the notification when there isn't enough space to display the notification itself.
body: A `dom.DOMString` representing the body text of the notification, which is displayed below the title.
tag: A `dom.DOMString` representing an identifying tag for the notification.
icon: A `web.USVString` containing the URL of an icon to be displayed in the notification.
image: a `web.USVString` containing the URL of an image to be displayed in the notification.
data: Arbitrary data that you want associated with the notification. This can be of any data type.
vibrate: A vibration pattern for the device's vibration hardware to emit with the notification.
renotify: A `web.Boolean` specifying whether the user should be notified after a new notification replaces an old one. The default is false, which means they won't be notified.
requireInteraction: Indicates that a notification should remain active until the user clicks or dismisses it, rather than closing automatically. The default value is false.
actions: An array of `web.NotificationAction`s representing the actions available to the user when the notification is presented. These are options the user can choose among in order to act on the action within the context of the notification itself. The action's name is sent to the service worker notification handler to let it know the action was selected by the user.


The following options are listed in the most up-to-date specification, but aren 't supported in any browsers yet. It's advisable to keep checking back regularly to see if the status of these has updated, and let us know if you find any out-of-date information.


silent: A `web.Boolean` specifying whether the notification is silent  (no sounds or vibrations  issued), regardless of the device settings. The default is false, which means it won't be silent.
noscreen: A `web.Boolean` specifying whether the notification firing enable the device's screen or not. The default is false, which means it enables the screen.
sticky: A `web.Boolean` specifying whether the notification is \"sticky\", i.e. not easily clearable by the user. The default is false, which means it won't be sticky.

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

datacljs

(data this)

Property.

The data read-only property of the web.Notification interface a structured clone of the notification's data, as specified in data option of the web.Notification() constructor.

var data = Notification.data;

See also: https://developer.mozilla.org/en-US/docs/Web/API/notification/data

Property.

The data read-only property of the `web.Notification` interface
a structured clone of the notification's data, as specified in
data option of the `web.Notification()` constructor.

`var data = Notification.data;`

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

dircljs

(dir this)

Property.

The dir read-only property of the web.Notification interface the text direction of the notification, as specified in the dir of the web.Notification() constructor.

var direction = Notification.dir;

See also: https://developer.mozilla.org/en-US/docs/Web/API/Notification/dir

Property.

The dir read-only property of the `web.Notification` interface
the text direction of the notification, as specified in the dir
of the `web.Notification()` constructor.

`var direction = Notification.dir;`

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

iconcljs

(icon this)

Property.

The icon read-only property of the web.Notification interface the URL of an icon to be displayed as part of the notification, specified in the icon option of the web.Notification() constructor.

var icon = Notification.icon;

See also: https://developer.mozilla.org/en-US/docs/Web/API/Notification/icon

Property.

The icon read-only property of the `web.Notification` interface
the URL of an icon to be displayed as part of the notification,
specified in the icon option of the `web.Notification()` constructor.

`var icon = Notification.icon;`

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

imagecljs

(image this)

Property.

The image read-only property of the web.Notification interface the URL of an image to be displayed as part of the notification

var image = Notification.image;

See also: https://developer.mozilla.org/en-US/docs/Web/API/notification/image

Property.

The image read-only property of the `web.Notification` interface
the URL of an image to be displayed as part of the notification

`var image = Notification.image;`

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

langcljs

(lang this)

Property.

The lang read-only property of the web.Notification interface the text direction of the notification, as specified in the lang of the web.Notification() constructor.

var language = Notification.lang;

See also: https://developer.mozilla.org/en-US/docs/Web/API/Notification/lang

Property.

The lang read-only property of the `web.Notification` interface
the text direction of the notification, as specified in the lang
of the `web.Notification()` constructor.

`var language = Notification.lang;`

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

onclickcljs

(onclick this)

Property.

The onclick property of the web.Notification interface specifies event listener to receive click events. These events occur when user clicks on a displayed web.Notification.

`Notification.onclick = function(event) { ... };

The default behavior is to move the focus to the viewport of the notification's related browsing context. If you don't want that behaviour, call preventDefault() on the event object.`

See also: https://developer.mozilla.org/en-US/docs/Web/API/Notification/onclick

Property.

The onclick property of the `web.Notification` interface specifies
event listener to receive click events. These events occur when
user clicks on a displayed `web.Notification`.

`Notification.onclick = function(event) { ... };

The default behavior is to move the focus to the viewport of the notification's related browsing context. If you don't want that behaviour, call preventDefault() on the event object.`

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

onclosecljs

(onclose this)

Property.

The onclose property of the web.Notification interface specifies event listener to receive close events. These events occur when web.Notification is closed.

Notification.onclose = function() { ... };

See also: https://developer.mozilla.org/en-US/docs/Web/API/Notification/onclose

Property.

The onclose property of the `web.Notification` interface specifies
event listener to receive close events. These events occur when
`web.Notification` is closed.

`Notification.onclose = function() { ... };`

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

onerrorcljs

(onerror this)

Property.

The onerror property of the web.Notification interface specifies event listener to receive error events. These events occur when goes wrong with a web.Notification (in many cases an error the notification from being displayed.)

Notification.onerror = EventListener;

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

Property.

The onerror property of the `web.Notification` interface specifies
event listener to receive error events. These events occur when
goes wrong with a `web.Notification` (in many cases an error
the notification from being displayed.)

`Notification.onerror = EventListener;`

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

onshowcljs

(onshow this)

Property.

The onshow property of the web.Notification interface specifies event listener to receive show events. These events occur when web.Notification is displayed.

Notification.onshow = function() { ... };

See also: https://developer.mozilla.org/en-US/docs/Web/API/Notification/onshow

Property.

The onshow property of the `web.Notification` interface specifies
event listener to receive show events. These events occur when
`web.Notification` is displayed.

`Notification.onshow = function() { ... };`

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

permissioncljs

(permission this)

Property.

The permission read-only property of the web.Notification interface the current permission granted by the user for the current origin display web notifications.

var permission = Notification.permission;

See also: https://developer.mozilla.org/en-US/docs/Web/API/Notification/permission

Property.

The permission read-only property of the `web.Notification` interface
the current permission granted by the user for the current origin
display web notifications.

`var permission = Notification.permission;`

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

renotifycljs

(renotify this)

Property.

The renotify read-only property of the web.Notification interface whether the user should be notified after a new notification an old one, as specified in the renotify option of the web.Notification()

var renotify = Notification.renotify;

See also: https://developer.mozilla.org/en-US/docs/Web/API/notification/renotify

Property.

The renotify read-only property of the `web.Notification` interface
whether the user should be notified after a new notification
an old one, as specified in the renotify option of the `web.Notification()`

`var renotify = Notification.renotify;`

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

request-permissioncljs

(request-permission this & args)

Method.

The requestPermission() method of the web.Notification interface permission from the user for the current origin to display notifications.

`The latest spec has updated this method to a promise-based syntax that works like this:

Notification.requestPermission().then(function(permission) { ... });

Previously, the syntax was based on a simple callback; this version is now deprecated:

Notification.requestPermission(callback);

Safari Version 12.0.3 still uses callback to get the permission.`

See also: https://developer.mozilla.org/en-US/docs/Web/API/Notification/requestPermission

Method.

The requestPermission() method of the `web.Notification` interface
permission from the user for the current origin to display notifications.

`The latest spec has updated this method to a promise-based syntax that works like this:



Notification.requestPermission().then(function(permission) { ... });

Previously, the syntax was based on a simple callback; this version is now deprecated:



Notification.requestPermission(callback);

Safari Version 12.0.3 still uses callback to get the permission.`

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

require-interactioncljs

(require-interaction this)

Property.

The requireInteraction read-only property of the web.Notification returns a web.Boolean indicating that a notification should active until the user clicks or dismisses it, rather than closing

function spawnNotification(theTitle,theBody,shouldRequireInteraction) { var options = { body: theBody, requireInteraction: shouldRequireInteraction } var n = new Notification(theTitle,options); }

See also: https://developer.mozilla.org/en-US/docs/Web/API/notification/requireInteraction

Property.

The requireInteraction read-only property of the `web.Notification`
returns a `web.Boolean` indicating that a notification should
active until the user clicks or dismisses it, rather than closing

`function spawnNotification(theTitle,theBody,shouldRequireInteraction) {
var options = {
body: theBody,
requireInteraction: shouldRequireInteraction
}
var n = new Notification(theTitle,options);
}`

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

set-actions!cljs

(set-actions! this val)

Property.

The actions read-only property of the web.Notification interface the list of web.NotificationAction objects set using the actions when creating the notification using the web.Notification()

var actions[] = Notification.actions;

See also: https://developer.mozilla.org/en-US/docs/Web/API/notification/actions

Property.

The actions read-only property of the `web.Notification` interface
the list of `web.NotificationAction` objects set using the actions
when creating the notification using the `web.Notification()`

`var actions[] = Notification.actions;`

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

set-badge!cljs

(set-badge! this val)

Property.

The badge property of the web.Notification interface returns URL of the image used to represent the notification when there not enough space to display the notification itself.

var url = Notification.badge

See also: https://developer.mozilla.org/en-US/docs/Web/API/notification/badge

Property.

The badge property of the `web.Notification` interface returns
URL of the image used to represent the notification when there
not enough space to display the notification itself.

`var url = Notification.badge`

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

set-body!cljs

(set-body! this val)

Property.

The body read-only property of the web.Notification interface the body string of the notification, as specified in the body of the web.Notification() constructor.

var body = Notification.body;

See also: https://developer.mozilla.org/en-US/docs/Web/API/Notification/body

Property.

The body read-only property of the `web.Notification` interface
the body string of the notification, as specified in the body
of the `web.Notification()` constructor.

`var body = Notification.body;`

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

set-data!cljs

(set-data! this val)

Property.

The data read-only property of the web.Notification interface a structured clone of the notification's data, as specified in data option of the web.Notification() constructor.

var data = Notification.data;

See also: https://developer.mozilla.org/en-US/docs/Web/API/notification/data

Property.

The data read-only property of the `web.Notification` interface
a structured clone of the notification's data, as specified in
data option of the `web.Notification()` constructor.

`var data = Notification.data;`

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

set-dir!cljs

(set-dir! this val)

Property.

The dir read-only property of the web.Notification interface the text direction of the notification, as specified in the dir of the web.Notification() constructor.

var direction = Notification.dir;

See also: https://developer.mozilla.org/en-US/docs/Web/API/Notification/dir

Property.

The dir read-only property of the `web.Notification` interface
the text direction of the notification, as specified in the dir
of the `web.Notification()` constructor.

`var direction = Notification.dir;`

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

set-icon!cljs

(set-icon! this val)

Property.

The icon read-only property of the web.Notification interface the URL of an icon to be displayed as part of the notification, specified in the icon option of the web.Notification() constructor.

var icon = Notification.icon;

See also: https://developer.mozilla.org/en-US/docs/Web/API/Notification/icon

Property.

The icon read-only property of the `web.Notification` interface
the URL of an icon to be displayed as part of the notification,
specified in the icon option of the `web.Notification()` constructor.

`var icon = Notification.icon;`

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

set-image!cljs

(set-image! this val)

Property.

The image read-only property of the web.Notification interface the URL of an image to be displayed as part of the notification

var image = Notification.image;

See also: https://developer.mozilla.org/en-US/docs/Web/API/notification/image

Property.

The image read-only property of the `web.Notification` interface
the URL of an image to be displayed as part of the notification

`var image = Notification.image;`

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

set-lang!cljs

(set-lang! this val)

Property.

The lang read-only property of the web.Notification interface the text direction of the notification, as specified in the lang of the web.Notification() constructor.

var language = Notification.lang;

See also: https://developer.mozilla.org/en-US/docs/Web/API/Notification/lang

Property.

The lang read-only property of the `web.Notification` interface
the text direction of the notification, as specified in the lang
of the `web.Notification()` constructor.

`var language = Notification.lang;`

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

set-onclick!cljs

(set-onclick! this val)

Property.

The onclick property of the web.Notification interface specifies event listener to receive click events. These events occur when user clicks on a displayed web.Notification.

`Notification.onclick = function(event) { ... };

The default behavior is to move the focus to the viewport of the notification's related browsing context. If you don't want that behaviour, call preventDefault() on the event object.`

See also: https://developer.mozilla.org/en-US/docs/Web/API/Notification/onclick

Property.

The onclick property of the `web.Notification` interface specifies
event listener to receive click events. These events occur when
user clicks on a displayed `web.Notification`.

`Notification.onclick = function(event) { ... };

The default behavior is to move the focus to the viewport of the notification's related browsing context. If you don't want that behaviour, call preventDefault() on the event object.`

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

set-onclose!cljs

(set-onclose! this val)

Property.

The onclose property of the web.Notification interface specifies event listener to receive close events. These events occur when web.Notification is closed.

Notification.onclose = function() { ... };

See also: https://developer.mozilla.org/en-US/docs/Web/API/Notification/onclose

Property.

The onclose property of the `web.Notification` interface specifies
event listener to receive close events. These events occur when
`web.Notification` is closed.

`Notification.onclose = function() { ... };`

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

set-onerror!cljs

(set-onerror! this val)

Property.

The onerror property of the web.Notification interface specifies event listener to receive error events. These events occur when goes wrong with a web.Notification (in many cases an error the notification from being displayed.)

Notification.onerror = EventListener;

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

Property.

The onerror property of the `web.Notification` interface specifies
event listener to receive error events. These events occur when
goes wrong with a `web.Notification` (in many cases an error
the notification from being displayed.)

`Notification.onerror = EventListener;`

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

set-onshow!cljs

(set-onshow! this val)

Property.

The onshow property of the web.Notification interface specifies event listener to receive show events. These events occur when web.Notification is displayed.

Notification.onshow = function() { ... };

See also: https://developer.mozilla.org/en-US/docs/Web/API/Notification/onshow

Property.

The onshow property of the `web.Notification` interface specifies
event listener to receive show events. These events occur when
`web.Notification` is displayed.

`Notification.onshow = function() { ... };`

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

set-permission!cljs

(set-permission! this val)

Property.

The permission read-only property of the web.Notification interface the current permission granted by the user for the current origin display web notifications.

var permission = Notification.permission;

See also: https://developer.mozilla.org/en-US/docs/Web/API/Notification/permission

Property.

The permission read-only property of the `web.Notification` interface
the current permission granted by the user for the current origin
display web notifications.

`var permission = Notification.permission;`

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

set-renotify!cljs

(set-renotify! this val)

Property.

The renotify read-only property of the web.Notification interface whether the user should be notified after a new notification an old one, as specified in the renotify option of the web.Notification()

var renotify = Notification.renotify;

See also: https://developer.mozilla.org/en-US/docs/Web/API/notification/renotify

Property.

The renotify read-only property of the `web.Notification` interface
whether the user should be notified after a new notification
an old one, as specified in the renotify option of the `web.Notification()`

`var renotify = Notification.renotify;`

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

set-require-interaction!cljs

(set-require-interaction! this val)

Property.

The requireInteraction read-only property of the web.Notification returns a web.Boolean indicating that a notification should active until the user clicks or dismisses it, rather than closing

function spawnNotification(theTitle,theBody,shouldRequireInteraction) { var options = { body: theBody, requireInteraction: shouldRequireInteraction } var n = new Notification(theTitle,options); }

See also: https://developer.mozilla.org/en-US/docs/Web/API/notification/requireInteraction

Property.

The requireInteraction read-only property of the `web.Notification`
returns a `web.Boolean` indicating that a notification should
active until the user clicks or dismisses it, rather than closing

`function spawnNotification(theTitle,theBody,shouldRequireInteraction) {
var options = {
body: theBody,
requireInteraction: shouldRequireInteraction
}
var n = new Notification(theTitle,options);
}`

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

set-silent!cljs

(set-silent! this val)

Property.

The silent read-only property of the web.Notification interface whether the notification should be silent, i.e., no sounds or should be issued, regardless of the device settings. This is in the renotify option of the web.Notification() constructor.

var silent = Notification.silent;

See also: https://developer.mozilla.org/en-US/docs/Web/API/notification/silent

Property.

The silent read-only property of the `web.Notification` interface
whether the notification should be silent, i.e., no sounds or
should be issued, regardless of the device settings. This is
in the renotify option of the `web.Notification()` constructor.

`var silent = Notification.silent;`

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

set-tag!cljs

(set-tag! this val)

Property.

The tag read-only property of the web.Notification interface an identifying tag for the notification, as specified in the option of the web.Notification() constructor.

var tag = Notification.tag;

See also: https://developer.mozilla.org/en-US/docs/Web/API/Notification/tag

Property.

The tag read-only property of the `web.Notification` interface
an identifying tag for the notification, as specified in the
option of the `web.Notification()` constructor.

`var tag = Notification.tag;`

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

set-timestamp!cljs

(set-timestamp! this val)

Property.

The timestamp read-only property of the web.Notification interface a DOMTimeStamp, as specified in the timestamp option of the web.Notification()

var timestamp = Notification.timestamp;

See also: https://developer.mozilla.org/en-US/docs/Web/API/notification/timestamp

Property.

The timestamp read-only property of the `web.Notification` interface
a DOMTimeStamp, as specified in the timestamp option of the `web.Notification()`

`var timestamp = Notification.timestamp;`

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

set-title!cljs

(set-title! this val)

Property.

The title read-only property of the web.Notification interface the title of the notification, as specified in the title parameter the web.Notification() constructor.

var title = Notification.title;

See also: https://developer.mozilla.org/en-US/docs/Web/API/notification/title

Property.

The title read-only property of the `web.Notification` interface
the title of the notification, as specified in the title parameter
the `web.Notification()` constructor.

`var title = Notification.title;`

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

set-vibrate!cljs

(set-vibrate! this val)

Property.

The vibrate read-only property of the web.Notification interface a a vibration pattern for the device's vibration hardware to when the notification fires. This is specified in the vibrate of the web.Notification() constructor.

var vibrate = Notification.vibrate;

See also: https://developer.mozilla.org/en-US/docs/Web/API/notification/vibrate

Property.

The vibrate read-only property of the `web.Notification` interface
a a vibration pattern for the device's vibration hardware to
when the notification fires. This is specified in the vibrate
of the `web.Notification()` constructor.

`var vibrate = Notification.vibrate;`

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

silentcljs

(silent this)

Property.

The silent read-only property of the web.Notification interface whether the notification should be silent, i.e., no sounds or should be issued, regardless of the device settings. This is in the renotify option of the web.Notification() constructor.

var silent = Notification.silent;

See also: https://developer.mozilla.org/en-US/docs/Web/API/notification/silent

Property.

The silent read-only property of the `web.Notification` interface
whether the notification should be silent, i.e., no sounds or
should be issued, regardless of the device settings. This is
in the renotify option of the `web.Notification()` constructor.

`var silent = Notification.silent;`

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

tagcljs

(tag this)

Property.

The tag read-only property of the web.Notification interface an identifying tag for the notification, as specified in the option of the web.Notification() constructor.

var tag = Notification.tag;

See also: https://developer.mozilla.org/en-US/docs/Web/API/Notification/tag

Property.

The tag read-only property of the `web.Notification` interface
an identifying tag for the notification, as specified in the
option of the `web.Notification()` constructor.

`var tag = Notification.tag;`

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

timestampcljs

(timestamp this)

Property.

The timestamp read-only property of the web.Notification interface a DOMTimeStamp, as specified in the timestamp option of the web.Notification()

var timestamp = Notification.timestamp;

See also: https://developer.mozilla.org/en-US/docs/Web/API/notification/timestamp

Property.

The timestamp read-only property of the `web.Notification` interface
a DOMTimeStamp, as specified in the timestamp option of the `web.Notification()`

`var timestamp = Notification.timestamp;`

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

titlecljs

(title this)

Property.

The title read-only property of the web.Notification interface the title of the notification, as specified in the title parameter the web.Notification() constructor.

var title = Notification.title;

See also: https://developer.mozilla.org/en-US/docs/Web/API/notification/title

Property.

The title read-only property of the `web.Notification` interface
the title of the notification, as specified in the title parameter
the `web.Notification()` constructor.

`var title = Notification.title;`

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

vibratecljs

(vibrate this)

Property.

The vibrate read-only property of the web.Notification interface a a vibration pattern for the device's vibration hardware to when the notification fires. This is specified in the vibrate of the web.Notification() constructor.

var vibrate = Notification.vibrate;

See also: https://developer.mozilla.org/en-US/docs/Web/API/notification/vibrate

Property.

The vibrate read-only property of the `web.Notification` interface
a a vibration pattern for the device's vibration hardware to
when the notification fires. This is specified in the vibrate
of the `web.Notification()` constructor.

`var vibrate = Notification.vibrate;`

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

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

× close