ConnectionEvent extendsRemoteEvent

A class that extends Event | Event.

detailisReadonly

  • connectionId:  

    number

    Type declaration

    • connectionId:  
    • number

    The unique numeric id of the connection that sent the event.

typeisReadonly

Returns the type of event, e.g. "click", "hashchange", or "submit".

Union

  • Literal: connected
  • Literal: disconnected

Examples

Basic disconnection event

Visible to event