MDN self-hosted library · e01.org

PresentationConnectionCloseEvent

Presentation API

no runnable cells web-api-interface upstream source

Presentation API

The PresentationConnectionCloseEvent interface of the Presentation API is fired on a PresentationConnection when it is closed.

Constructor

  • PresentationConnectionCloseEvent()
  • : Creates a new PresentationConnectionCloseEvent.

Instance properties

  • PresentationConnectionCloseEvent.message
  • : A human-readable message that provides more information about why the connection was closed.
  • PresentationConnectionCloseEvent.reason
  • : Indicates why the connection was closed. This property takes one of the following values: error, closed, or wentaway.

Specifications

Browser compatibility