close

Baseline Widely available

This feature is well established and works across many devices and browser versions. It’s been available across browsers since July 2015.

El manejador close es ejecutado cuando una conexión con un websocket es cerrada.

General info

Properties

Property Type Description
target Read only EventTarget El objetivo del evento (el objetivo superior en el árbol DOM).
type Read only DOMString El tipo de evento.
bubbles Read only Boolean Si el evento normalmente burbujea o no.
cancelable Read only Boolean Si el evento es cancelable o no.

See also