PresentationConnectionAvailableEvent
The PresentationConnectionAvailableInit() constructor creates a new PresentationConnectionAvailableEvent.
Syntax
var pcaEvent = new PresentationConnectionAvailableInit(typeArg, eventInit)
Parameters
typeArg-
A
DOMSTringgiving the name of the event. For this event it should beconnectionavailable. eventInit-
A
PresentationConnectionAvailableInitdictionary, which only contains a reference to aPresentationConnectionobject.
Return value
An instance of the PresentationConnectionAvailableEvent interface.
Browser compatibility
| Desktop | Mobile | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Chrome | Edge | Firefox | Internet Explorer | Opera | Safari | WebView Android | Chrome Android | Firefox for Android | Opera Android | Safari on IOS | Samsung Internet | |
PresentationConnectionAvailableEvent |
48 |
79 |
51-88 |
No |
? |
No |
No |
48 |
51-79 |
? |
No |
5.0 |
© 2005–2021 MDN contributors.
Licensed under the Creative Commons Attribution-ShareAlike License v2.5 or later.
https://developer.mozilla.org/en-US/docs/Web/API/PresentationConnectionAvailableEvent/PresentationConnectionAvailableEvent