PresentationConnectionAvailableEvent
Limited availability
This feature is not Baseline because it does not work in some of the most widely-used browsers.
Experimental:This is anexperimental technology
Check theBrowser compatibility table carefully before using this in production.
Secure context: This feature is available only insecure contexts (HTTPS), in some or allsupporting browsers.
ThePresentationConnectionAvailableEvent interface of thePresentation API is fired on aPresentationRequest when a connection associated with the object is created.
Acontrolling user agentfires atrusted event namedconnectionavailable on aPresentationRequest when a connection associated with the object is created. It is fired at thePresentationRequest instance, using thePresentationConnectionAvailableEvent interface, with theconnection attribute set to thePresentationConnection object that was created. The event is fired for each connection that is created for thecontroller, either by thecontroller callingstart() orreconnect(), or by thecontrolling user agent creating a connection on the controller's behalf viadefaultRequest.
In this article
Constructor
PresentationConnectionAvailableEvent()ExperimentalCreates a new PresentationConnectionAvailableEvent.
Instance properties
PresentationConnectionAvailableEvent.connectionRead onlyExperimentalReturns a references to the
PresentationConnectionobject that fired the event.
Specifications
| Specification |
|---|
| Presentation API> # interface-presentationconnectionavailableevent> |