web api interface
PresentationConnectionCloseEvent
Limited availabilitySecure context
The PresentationConnectionCloseEvent interface of the Presentation API is fired on a PresentationConnection when it is closed.
Constructor
PresentationConnectionCloseEvent()Experimental- : Creates a new PresentationConnectionCloseEvent.
Instance properties
messageRead only Experimental- : A human-readable message that provides more information about why the connection was closed.
reasonRead only Experimental- : Indicates why the connection was closed. This property takes one of the following values:
error,closed, orwentaway.
- : Indicates why the connection was closed. This property takes one of the following values:
Specifications
SpecificationsStandards references are available on the canonical MDN page.
Browser compatibility
Browser compatibilityCompatibility data is available on the canonical MDN page.