The PresentationConnectionAvailableInit()
constructor creates a new PresentationConnectionAvailableEvent
.
PresentationConnectionAvailableEvent
Syntax
new PresentationConnectionAvailableInit(typeArg, eventInit)
Parameters
-
typeArg
-
A
DOMString
giving the name of the event. For this event it should beconnectionavailable
. -
eventInit
-
A
PresentationConnectionAvailableInit
dictionary, which only contains a reference to aPresentationConnection
object.
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 |
47
|
79
|
51-88
|
No
|
34
|
No
|
No
|
47
|
No
|
34
|
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