The current event is in the target phase, i.e.
The current event is in the target phase, i.e. it is being evaluated at the event target (2)
The current event phase is the bubbling phase (3)
The current event phase is the bubbling phase (3)
The current event phase is the capture phase (1)
The current event phase is the capture phase (1)
Returns whether or not a specific event is a bubbling event
Returns whether or not a specific event is a bubbling event
Returns whether or not an event can have its default action prevented
Returns whether or not an event can have its default action prevented
Returns an unsigned short containing the close code send by the server.
Returns an unsigned short containing the close code send by the server. The following values are permitted status codes.
Returns the element whose event listeners triggered the event
Returns the element whose event listeners triggered the event
Returns whether or not the preventDefault() method was called for the event
Returns whether or not the preventDefault() method was called for the event
Returns which phase of the event flow is currently being evaluated
Returns which phase of the event flow is currently being evaluated
Initializes the value of a CloseEvent created.
Initializes the value of a CloseEvent created. If the event has already being dispatched, this method does nothing. Do not use this method anymore, use the CloseEvent() constructor instead.
Returns whether or not an event is trusted
Returns whether or not an event is trusted
Cancels the event if it is cancelable, meaning that the default action that belongs to the event will not occur
Cancels the event if it is cancelable, meaning that the default action that belongs to the event will not occur
Returns a DOMString indicating the reason the server closed the connection.
Returns a DOMString indicating the reason the server closed the connection. This is specific to the particular server and sub-protocol.
Prevents other listeners of the same event from being called
Prevents other listeners of the same event from being called
Prevents further propagation of an event during event flow
Prevents further propagation of an event during event flow
Returns the element that triggered the event
Returns the element that triggered the event
Returns the time (in milliseconds relative to the epoch) at which the event was created
Returns the time (in milliseconds relative to the epoch) at which the event was created
Returns the name of the event
Returns the name of the event
Returns a reference to the Window object where the event occurred TODO is this really a reference to Window?
Returns a reference to the Window object where the event occurred TODO is this really a reference to Window?
Returns a Boolean that Indicates whether or not the connection was cleanly closed.
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.