A boolean indicating whether the event bubbles up through the DOM or not.
A boolean indicating whether the event bubbles up through the DOM or not.
MDN
A boolean indicating whether the bubbling of the event has been canceled or not.
A boolean indicating whether the bubbling of the event has been canceled or not.
MDN
A boolean indicating whether the event is cancelable.
A boolean indicating whether the event is cancelable.
MDN
The WebSocket connection close code provided by the server.
The WebSocket connection close code provided by the server. See Close codes for possible values.
MDN
Identifies the current target for the event, as the event traverses the DOM.
Identifies the current target for the event, as the event traverses the DOM. It always refers to the element the event handler has been attached to as opposed to event.target which identifies the element on which the event occurred.
MDN
Returns a boolean indicating whether or not event.preventDefault() was called on the event.
Returns a boolean indicating whether or not event.preventDefault() was called on the event.
MDN
Indicates which phase of the event flow is currently being evaluated.
Indicates which phase of the event flow is currently being evaluated.
MDN
Indicates whether or not the event was initiated by the browser (after a user click for instance) or by a script (using an event creation method, like event.initEvent)
Indicates whether or not the event was initiated by the browser (after a user click for instance) or by a script (using an event creation method, like event.initEvent)
MDN
Cancels the event if it is cancelable, without stopping further propagation of the event.
Cancels the event if it is cancelable, without stopping further propagation of the event.
MDN
A string indicating the reason the server closed the connection.
A string indicating the reason the server closed the connection. This is specific to the particular server and sub-protocol.
MDN
For this particular event, no other listener will be called.
For this particular event, no other listener will be called. Neither those attached on the same element, nor those attached on elements which will be traversed later (in capture phase, for instance)
MDN
Stops the propagation of events further along in the DOM.
Stops the propagation of events further along in the DOM.
MDN
This property of event objects is the object the event was dispatched on.
This property of event objects is the object the event was dispatched on. It is different than event.currentTarget when the event handler is called in bubbling or capturing phase of the event.
MDN
Returns the time (in milliseconds since the epoch) at which the event was created.
Returns the time (in milliseconds since the epoch) at which the event was created.
MDN
Indicates whether or not the connection was cleanly closed.
Indicates whether or not the connection was cleanly closed.
MDN
(Since version forever) Non-standard
The initEvent method is used to initialize the value of an event created using document.createEvent.
The initEvent method is used to initialize the value of an event created using document.createEvent.
MDN
(Since version forever) Non-standard
(Since version forever) Non standard.
A CloseEvent is sent to clients using WebSockets when the connection is closed. This is delivered to the listener indicated by the WebSocket object's onclose attribute.
MDN