Liking cljdoc? Tell your friends :D

web.SyncEvent

The SyncEvent interface represents a sync action that is dispatched the web.ServiceWorkerGlobalScope of a ServiceWorker.

The SyncEvent interface represents a sync action that is dispatched
the `web.ServiceWorkerGlobalScope` of a ServiceWorker.
raw docstring

constructorcljs

Constructor.

The SyncEvent() constructor creates a new web.SyncEvent object.

type The type of the Event. init Optional An options object containing any custom settings that you want to apply to the event object. Options are as follows:

tag: A developer-defined unique identifier for this SyncEvent. lastChance: A web.Boolean indicating that the user agent will not make further synchronization attempts after the current attempt.

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

Constructor.

The SyncEvent() constructor creates a new `web.SyncEvent` object.

type
The type of the Event.
init Optional
An options object containing any custom settings that you want to apply to the event object. Options are as follows:

tag: A developer-defined unique identifier for this SyncEvent.
lastChance: A `web.Boolean` indicating that the user agent will not make further synchronization attempts after the current attempt.

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

last-chancecljs

(last-chance this)

Property.

The SyncEvent.lastChance read-only property of the web.SyncEvent returns true if the user agent will not make further synchronization after the current attempt. This is the value passed in the lastChance of the web.SyncEvent() constructor.

var lastChance = SyncEvent.lastChance

See also: https://developer.mozilla.org/en-US/docs/Web/API/SyncEvent/lastChance

Property.

The SyncEvent.lastChance read-only property of the `web.SyncEvent`
returns true if the user agent will not make further synchronization
after the current attempt. This is the value passed in the lastChance
of the `web.SyncEvent()` constructor.

`var lastChance = SyncEvent.lastChance`

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

registrationcljs

(registration this)

Property.

The registration read-only property of the web.SyncEvent interface a reference to a web.SyncRegistration object.

var syncReg = SyncEvent.registration

See also: https://developer.mozilla.org/en-US/docs/Web/API/SyncEvent/registration

Property.

The registration read-only property of the `web.SyncEvent` interface
a reference to a `web.SyncRegistration` object.

`var syncReg = SyncEvent.registration`

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

set-last-chance!cljs

(set-last-chance! this val)

Property.

The SyncEvent.lastChance read-only property of the web.SyncEvent returns true if the user agent will not make further synchronization after the current attempt. This is the value passed in the lastChance of the web.SyncEvent() constructor.

var lastChance = SyncEvent.lastChance

See also: https://developer.mozilla.org/en-US/docs/Web/API/SyncEvent/lastChance

Property.

The SyncEvent.lastChance read-only property of the `web.SyncEvent`
returns true if the user agent will not make further synchronization
after the current attempt. This is the value passed in the lastChance
of the `web.SyncEvent()` constructor.

`var lastChance = SyncEvent.lastChance`

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

set-registration!cljs

(set-registration! this val)

Property.

The registration read-only property of the web.SyncEvent interface a reference to a web.SyncRegistration object.

var syncReg = SyncEvent.registration

See also: https://developer.mozilla.org/en-US/docs/Web/API/SyncEvent/registration

Property.

The registration read-only property of the `web.SyncEvent` interface
a reference to a `web.SyncRegistration` object.

`var syncReg = SyncEvent.registration`

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

set-tag!cljs

(set-tag! this val)

Property.

The SyncEvent.tag read-only property of the web.SyncEvent interface the developer-defined identifier for this SyncEvent. This is value passed in the tag parameter of the web.SyncEvent() constructor.

var tag = SyncEvent.tag

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

Property.

The SyncEvent.tag read-only property of the `web.SyncEvent` interface
the developer-defined identifier for this SyncEvent. This is
value passed in the tag parameter of the `web.SyncEvent()` constructor.

`var tag = SyncEvent.tag`

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

tagcljs

(tag this)

Property.

The SyncEvent.tag read-only property of the web.SyncEvent interface the developer-defined identifier for this SyncEvent. This is value passed in the tag parameter of the web.SyncEvent() constructor.

var tag = SyncEvent.tag

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

Property.

The SyncEvent.tag read-only property of the `web.SyncEvent` interface
the developer-defined identifier for this SyncEvent. This is
value passed in the tag parameter of the `web.SyncEvent()` constructor.

`var tag = SyncEvent.tag`

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

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

× close