MDN self-hosted library · e01.org

PresentationConnectionAvailableEvent: PresentationConnectionAvailableEvent() constructor

Presentation API

no runnable cells web-api-constructor upstream source

Presentation API

The PresentationConnectionAvailableEvent() constructor creates a new PresentationConnectionAvailableEvent object.

Syntax

new PresentationConnectionAvailableInit(type, options)

Parameters

  • type
  • : A string with the name of the event. It is case-sensitive and browsers set it to connectionavailable.
  • options
  • : An object that, in addition of the properties defined in Event(), can have the following properties:
    • connection
    • : The association PresentationConnection object.

Return value

A new PresentationConnectionAvailableEvent object.

Specifications

Browser compatibility