# Class: DocumentOpenedEvent

## DocumentOpenedEvent()

XMLEditorEvent sent after a document has been successfully opened in an XMLEditor.

Contains not only the HTML+CSS view of the opened document but also all the information (commands, bindings, toolbar buttons, etc) needed to configure the XMLEditor in order to make it usable to edit this opened document.

## Constructor

#### new DocumentOpenedEvent()

Source:
  - editor/DocumentOpenedEvent.js, line 14
See:
  - XMLEditor#openDocument
  - XMLEditor#openFile

### Classes

DocumentOpenedEvent

### Members

#### bindings :array

Get the `bindings` property of this event.

##### Type:

- array

Source:
  - editor/DocumentOpenedEvent.js, line 177

#### configurationName :string

Get the `configurationName` property of this event.

##### Type:

- string

Source:
  - editor/DocumentOpenedEvent.js, line 168

#### contextualCommands :array

Get the `contextualCommands` property of this event.

##### Type:

- array

Source:
  - editor/DocumentOpenedEvent.js, line 159

#### diffSupport :number

Get the `diffSupport` property of this event: 0 (comparison of revisions not enabled), 1 (comparison of revisions enabled) or 2 (all revisions stored in the document).

##### Type:

- number

Source:
  - editor/DocumentOpenedEvent.js, line 123

#### extensionModules :array

Get the `extensionModules` property of this event.

##### Type:

- array

Source:
  - editor/DocumentOpenedEvent.js, line 195

#### marks :array

Get the `marks` property of this event.

##### Type:

- array

Source:
  - editor/DocumentOpenedEvent.js, line 150

#### nsPrefixes :array

Get the `nsPrefixes` property of this event.

##### Type:

- array

Source:
  - editor/DocumentOpenedEvent.js, line 84

#### persistent :boolean

Get the `persistent` property of this event.

##### Type:

- boolean

Source:
  - editor/DocumentOpenedEvent.js, line 75

#### readOnly :boolean

Get the `readOnly` property of this event.

##### Type:

- boolean

Source:
  - editor/DocumentOpenedEvent.js, line 93

#### saveAsNeeded :boolean

Get the `saveAsNeeded` property of this event.

##### Type:

- boolean

Source:
  - editor/DocumentOpenedEvent.js, line 111

#### saveNeeded :boolean

Get the `saveNeeded` property of this event.

##### Type:

- boolean

Source:
  - editor/DocumentOpenedEvent.js, line 102

#### styles :string

Get the `styles` property of this event.

##### Type:

- string

Source:
  - editor/DocumentOpenedEvent.js, line 141

#### toolSets :array

Get the `toolSets` property of this event.

##### Type:

- array

Source:
  - editor/DocumentOpenedEvent.js, line 186

#### uid :string

Get the `uid` property of this event.

##### Type:

- string

Source:
  - editor/DocumentOpenedEvent.js, line 57

#### url :string

Get the `url` property of this event.

##### Type:

- string

Source:
  - editor/DocumentOpenedEvent.js, line 66

#### view :string

Get the `view` property of this event.

##### Type:

- string

Source:
  - editor/DocumentOpenedEvent.js, line 132