Liking cljdoc? Tell your friends :D

web.presentation.PresentationRequest

A PresentationRequest object is used to initiate or reconnect a presentation made by a controlling browsing context. The PresentationRequest MUST be implemented in a controlling browsing context provided a controlling user agent.

A PresentationRequest object is used to initiate or reconnect
a presentation made by a controlling browsing context. The PresentationRequest
MUST be implemented in a controlling browsing context provided
a controlling user agent.
raw docstring

constructorcljs

(constructor & args)

Constructor.

The PresentationRequest constructor creates a new web.presentation.PresentationRequest object which creates a new PresentationRequest.

url or urls[] A URL or array of URLs that are possible URLs used to create, or reconnect, a presentation for the PresentationRequest instance.

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

Constructor.

The PresentationRequest constructor creates a new `web.presentation.PresentationRequest` object which creates a new PresentationRequest.

url or urls[]
A URL or array of URLs that are possible URLs used to create, or reconnect, a presentation for the PresentationRequest instance.

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

get-availabilitycljs

(get-availability this & args)

Method.

When the getAvailability() method is called, the user agent MUST the following steps:

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

Method.

When the getAvailability() method is called, the user agent MUST
the following steps:

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

onconnectionavailablecljs

(onconnectionavailable this)

Property.

The following are event handlers (and their corresponding event event types) which must be supported, as event handler IDL attributes, objects implementing the PresentationRequest interface:

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

Property.

The following are event handlers (and their corresponding event
event types) which must be supported, as event handler IDL attributes,
objects implementing the PresentationRequest interface:

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

reconnectcljs

(reconnect this & args)

Method.

When the reconnect(presentationId) method is called on a PresentationRequest the user agent MUST run the following steps to reconnect to a

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

Method.

When the reconnect(presentationId) method is called on a PresentationRequest
the user agent MUST run the following steps to reconnect to a

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

set-onconnectionavailable!cljs

(set-onconnectionavailable! this val)

Property.

The following are event handlers (and their corresponding event event types) which must be supported, as event handler IDL attributes, objects implementing the PresentationRequest interface:

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

Property.

The following are event handlers (and their corresponding event
event types) which must be supported, as event handler IDL attributes,
objects implementing the PresentationRequest interface:

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

startcljs

(start this & args)

Method.

[Experimental]

The start() property of the web.presentation.PresentationRequest returns a js.Promise that resolves with a web.presentation.PresentationConnection the user agent prompts the user to select a display and grant to use that display.

var promise = presentationRequest.start() promise.then(function(PresentationConnection) { ... }) .catch(function(error) { ...})

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

Method.

[Experimental]

The start() property of the `web.presentation.PresentationRequest`
returns a `js.Promise` that resolves with a `web.presentation.PresentationConnection`
the user agent prompts the user to select a display and grant
to use that display.

`var promise = presentationRequest.start()
promise.then(function(PresentationConnection) { ... })
.catch(function(error) { ...})`

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

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

× close