Liking cljdoc? Tell your friends :D

web.Client

The Client interface represents an executable context such as web.Worker, or a web.SharedWorker. web.Window clients are by the more-specific web.WindowClient. You can get Client/WindowClient from methods such as web.Clients.matchAll() and web.Clients.get().

The Client interface represents an executable context such as
`web.Worker`, or a `web.SharedWorker`. `web.Window` clients are
by the more-specific `web.WindowClient`. You can get Client/WindowClient
from methods such as `web.Clients.matchAll()` and `web.Clients.get()`.
raw docstring

frame-typecljs

(frame-type this)

Property.

The frameType read-only property of the web.Client interface the type of browsing context of the current web.Client. This can be one of auxiliary, top-level, nested, or none.

var myFrameType = Client.frameType;

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

Property.

The frameType read-only property of the `web.Client` interface
the type of browsing context of the current `web.Client`. This
can be one of auxiliary, top-level, nested, or none.

`var myFrameType = Client.frameType;`

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

idcljs

(id this)

Property.

The id read-only property of the web.Client interface returns universally unique identifier of the web.Client object.

var clientId = Client.id;

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

Property.

The id read-only property of the `web.Client` interface returns
universally unique identifier of the `web.Client` object.

`var clientId = Client.id;`

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

post-messagecljs

(post-message this & args)

Method.

The postMessage() method of web.Client allows a service worker send a message to a client (a web.Window, web.Worker, or The message is received in the "message" event on web.navigator.serviceWorker.

Client.postMessage(message[, transfer]);

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

Method.

The postMessage() method of `web.Client` allows a service worker
send a message to a client (a `web.Window`, `web.Worker`, or
The message is received in the \"message\" event on `web.navigator.serviceWorker`.

`Client.postMessage(message[, transfer]);`

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

set-frame-type!cljs

(set-frame-type! this val)

Property.

The frameType read-only property of the web.Client interface the type of browsing context of the current web.Client. This can be one of auxiliary, top-level, nested, or none.

var myFrameType = Client.frameType;

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

Property.

The frameType read-only property of the `web.Client` interface
the type of browsing context of the current `web.Client`. This
can be one of auxiliary, top-level, nested, or none.

`var myFrameType = Client.frameType;`

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

set-id!cljs

(set-id! this val)

Property.

The id read-only property of the web.Client interface returns universally unique identifier of the web.Client object.

var clientId = Client.id;

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

Property.

The id read-only property of the `web.Client` interface returns
universally unique identifier of the `web.Client` object.

`var clientId = Client.id;`

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

set-type!cljs

(set-type! this val)

Property.

The type read-only property of the web.Client interface indicates type of client the service worker is controlling.

var myClientType = Client.type;

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

Property.

The type read-only property of the `web.Client` interface indicates
type of client the service worker is controlling.

`var myClientType = Client.type;`

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

set-url!cljs

(set-url! this val)

Property.

The url read-only property of the web.Client interface returns URL of the current service worker client.

var clientUrl = Client.url;

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

Property.

The url read-only property of the `web.Client` interface returns
URL of the current service worker client.

`var clientUrl = Client.url;`

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

typecljs

(type this)

Property.

The type read-only property of the web.Client interface indicates type of client the service worker is controlling.

var myClientType = Client.type;

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

Property.

The type read-only property of the `web.Client` interface indicates
type of client the service worker is controlling.

`var myClientType = Client.type;`

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

urlcljs

(url this)

Property.

The url read-only property of the web.Client interface returns URL of the current service worker client.

var clientUrl = Client.url;

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

Property.

The url read-only property of the `web.Client` interface returns
URL of the current service worker client.

`var clientUrl = Client.url;`

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

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

× close