# Class: DisconnectedEvent

## DisconnectedEvent()

XMLEditorEvent sent after the XMLEditor is disconnected from its server.

## Constructor

#### new DisconnectedEvent()

Source:
  - editor/DisconnectedEvent.js, line 8
See:
  - XMLEditor#disconnect

### Classes

DisconnectedEvent

### Members

#### code :number

Get the `code` property of this event.

##### Type:

- number

Source:
  - editor/DisconnectedEvent.js, line 17

#### reason :string

Get the `reason` property of this event.

##### Type:

- string

Source:
  - editor/DisconnectedEvent.js, line 26