# Class: ReadOnlyStateChangedEvent

## ReadOnlyStateChangedEvent()

XMLEditorEvent sent after the read-only state of edited document has been modified (e.g. by the user using a dedicated command).

## Constructor

#### new ReadOnlyStateChangedEvent()

Source:
  - editor/ReadOnlyStateChangedEvent.js, line 6

### Classes

ReadOnlyStateChangedEvent

### Members

#### readOnly :boolean

Get the `readOnly` property of this event: specifies whether the document being edited is read-only.

##### Type:

- boolean

Source:
  - editor/ReadOnlyStateChangedEvent.js, line 16