---
title: Class: WebSocketEvent
source: https://vjmap.com/doc/Class_WebSocketEvent.html
---

# Class: WebSocketEvent

### Hierarchy

- **WebSocketEvent**

  ↳ [*ErrorEvent*](#classeserroreventmd)

  ↳ [*CloseEvent*](#classescloseeventmd)

### Table of contents

#### Constructors

- [constructor](#constructor)

#### Properties

- [target](#target)
- [type](#type)

### Constructors

#### constructor

\+ **new WebSocketEvent**(`type`: *string*, `target`: *any*): [*WebSocketEvent*](#classeswebsocketeventmd)

##### Parameters

| Name | Type |
| :------ | :------ |
| `type` | *string* |
| `target` | *any* |

**Returns:** [*WebSocketEvent*](#classeswebsocketeventmd)

### Properties

#### target

• **target**: *any*

___

#### type

• **type**: *string*

# Enums


<a name="enumsanimationstatusmd"></a>

[vjmap](#readmemd) / [Exports](#modulesmd) / AnimationStatus
