PresentationConnectionCloseEvent
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.
ThePresentationConnectionCloseEvent interface of thePresentation API is fired on aPresentationConnection when it is closed.
In this article
Constructor
PresentationConnectionCloseEvent()ExperimentalCreates a new PresentationConnectionCloseEvent.
Instance properties
PresentationConnectionCloseEvent.messageRead onlyExperimentalA human-readable message that provides more information about why the connection was closed.
PresentationConnectionCloseEvent.reasonRead onlyExperimentalIndicates why the connection was closed. This property takes one of the following values:
error,closed, orwentaway.
Specifications
| Specification |
|---|
| Presentation API> # interface-presentationconnectioncloseevent> |