CloseEvent

Overview

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.

Location

Properties


bubbles    (declared in Event)

 

property bubbles: Boolean read;

 

Boolean bubbles { get; }

 

var bubbles: Boolean { get{} }

 

Boolean bubbles { __get; }

 

ReadOnly Property bubbles() As Boolean

cancelable    (declared in Event)

 

property cancelable: Boolean read;

 

Boolean cancelable { get; }

 

var cancelable: Boolean { get{} }

 

Boolean cancelable { __get; }

 

ReadOnly Property cancelable() As Boolean

cancelBubble    (declared in Event)

 

property cancelBubble: Boolean read write;

 

Boolean cancelBubble { get; set; }

 

var cancelBubble: Boolean { get{} set{} }

 

Boolean cancelBubble { __get; __set; }

 

Property cancelBubble() As Boolean

code

 

property code: UInt16 read;

 

UInt16 code { get; }

 

var code: UInt16 { get{} }

 

UInt16 code { __get; }

 

ReadOnly Property code() As UInt16

composed    (declared in Event)

 

property composed: Boolean read;

 

Boolean composed { get; }

 

var composed: Boolean { get{} }

 

Boolean composed { __get; }

 

ReadOnly Property composed() As Boolean

currentTarget    (declared in Event)

 

property currentTarget: dynamic read;

 

dynamic currentTarget { get; }

 

var currentTarget: dynamic { get{} }

 

dynamic currentTarget { __get; }

 

ReadOnly Property currentTarget() As dynamic

defaultPrevented    (declared in Event)

 

property defaultPrevented: Boolean read;

 

Boolean defaultPrevented { get; }

 

var defaultPrevented: Boolean { get{} }

 

Boolean defaultPrevented { __get; }

 

ReadOnly Property defaultPrevented() As Boolean

eventPhase    (declared in Event)

 

property eventPhase: Int32 read;

 

Int32 eventPhase { get; }

 

var eventPhase: Int32 { get{} }

 

Int32 eventPhase { __get; }

 

ReadOnly Property eventPhase() As Int32

isTrusted    (declared in Event)

 

property isTrusted: Boolean read;

 

Boolean isTrusted { get; }

 

var isTrusted: Boolean { get{} }

 

Boolean isTrusted { __get; }

 

ReadOnly Property isTrusted() As Boolean

reason

 

property reason: String read;

 

String reason { get; }

 

var reason: String { get{} }

 

String reason { __get; }

 

ReadOnly Property reason() As String

returnValue    (declared in Event)

 

property returnValue: String read write;

 

String returnValue { get; set; }

 

var returnValue: String { get{} set{} }

 

String returnValue { __get; __set; }

 

Property returnValue() As String

target    (declared in Event)

 

property target: EventTarget read;

 

EventTarget target { get; }

 

var target: EventTarget { get{} }

 

EventTarget target { __get; }

 

ReadOnly Property target() As EventTarget

timeStamp    (declared in Event)

 

property timeStamp: Int64 read;

 

Int64 timeStamp { get; }

 

var timeStamp: Int64 { get{} }

 

Int64 timeStamp { __get; }

 

ReadOnly Property timeStamp() As Int64

type    (declared in Event)

 

property type: dynamic read;

 

dynamic type { get; }

 

var type: dynamic { get{} }

 

dynamic type { __get; }

 

ReadOnly Property type() As dynamic

wasClean

 

property wasClean: Boolean read;

 

Boolean wasClean { get; }

 

var wasClean: Boolean { get{} }

 

Boolean wasClean { __get; }

 

ReadOnly Property wasClean() As Boolean