W3cubDocs

/DOM

PresentationConnectionAvailableEvent.constructor

The PresentationConnectionAvailableInit() constructor creates a new PresentationConnectionAvailableEvent.

Syntax

var pcaEvent = new PresentationConnectionAvailableInit(typeArg, eventInit)

Parameters

typeArg
A DOMSTring giving the name of the event. For this event it should be connectionavailable.
eventInit
A PresentationConnectionAvailableInit dictionary, which only contains a reference to a PresentationConnection object.

Return value

An instance of the PresentationConnectionAvailableEvent interface.

Browser CompatibilityUpdate compatibility data on GitHub

Desktop
Chrome Edge Firefox Internet Explorer Opera Safari
Basic support 48 ? 51
Disabled
51
Disabled
Disabled From version 51: this feature is behind the dom.presentation.enabled preference (needs to be set to true). To change preferences in Firefox, visit about:config.
? ? ?
Mobile
Android webview Chrome for Android Edge Mobile Firefox for Android Opera for Android iOS Safari Samsung Internet
Basic support No 48 ? 51
Disabled
51
Disabled
Disabled From version 51: this feature is behind the dom.presentation.enabled preference (needs to be set to true). To change preferences in Firefox, visit about:config.
? ? ?

© 2005–2018 Mozilla Developer Network and individual contributors.
Licensed under the Creative Commons Attribution-ShareAlike License v2.5 or later.
https://developer.mozilla.org/en-US/docs/Web/API/PresentationConnectionAvailableEvent/PresentationConnectionAvailableEvent