The PresentationConnectionAvailableInit() constructor creates a new PresentationConnectionAvailableEvent.


var pcaEvent = new PresentationConnectionAvailableInit(typeArg, eventInit)


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

Return value

An instance of the PresentationConnectionAvailableEvent interface.


Specification Status Comment
Presentation API
The definition of 'PresentationConnectionAvailableEvent' in that specification.
Candidate Recommendation Initial definition.

Browser Compatibility

FeatureChromeEdgeFirefoxInternet ExplorerOperaSafari
Basic support48 ?511 ? ? ?
FeatureAndroid webviewChrome for AndroidEdge mobileFirefox for AndroidOpera AndroidiOS SafariSamsung Internet
Basic support No48 ?511 ? ? ?

1. 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.

Document Tags and Contributors

Contributors to this page: lucian95, Sheppy, rolfedh, jpmedley
Last updated by: lucian95,