SocketEvent
Extends
Constructors
new SocketEvent()
new SocketEvent(type
, init
): SocketEvent
Parameters
Parameter | Type |
---|---|
type | string |
init | SocketEventInit |
Returns
Overrides
Properties
Property | Modifier | Type | Inherited from |
---|---|---|---|
AT_TARGET | readonly | 2 | Event .AT_TARGET |
BUBBLING_PHASE | readonly | 3 | Event .BUBBLING_PHASE |
CAPTURING_PHASE | readonly | 1 | Event .CAPTURING_PHASE |
NONE | readonly | 0 | Event .NONE |
bubbles | readonly | boolean | Event .bubbles |
cancelBubble | public | boolean | Event .cancelBubble |
cancelable | readonly | boolean | Event .cancelable |
composed | readonly | boolean | Event .composed |
currentTarget | readonly | null | EventTarget | Event .currentTarget |
defaultPrevented | readonly | boolean | Event .defaultPrevented |
eventPhase | readonly | number | Event .eventPhase |
isTrusted | readonly | boolean | Event .isTrusted |
returnValue | public | boolean | Event .returnValue |
socket | public | Socket | - |
srcElement | readonly | null | EventTarget | Event .srcElement |
target | readonly | null | EventTarget | Event .target |
timeStamp | readonly | number | Event .timeStamp |
type | readonly | string | Event .type |
AT_TARGET | readonly | 2 | Event .AT_TARGET |
BUBBLING_PHASE | readonly | 3 | Event .BUBBLING_PHASE |
CAPTURING_PHASE | readonly | 1 | Event .CAPTURING_PHASE |
NONE | readonly | 0 | Event .NONE |
Methods
composedPath()
composedPath(): EventTarget
[]
Returns
Inherited from
initEvent()
initEvent(type
, bubbles
?, cancelable
?): void
Parameters
Parameter | Type |
---|---|
type | string |
bubbles ? | boolean |
cancelable ? | boolean |
Returns
void
Inherited from
preventDefault()
preventDefault(): void
Returns
void
Inherited from
stopImmediatePropagation()
stopImmediatePropagation(): void
Returns
void
Inherited from
Event
.stopImmediatePropagation
stopPropagation()
stopPropagation(): void
Returns
void