EditorView.setState method
EditorView › setState
Official
Reset the view to the given state.Signature:
setState(newState: EditorState): voidParameters:
| Parameter | Type | Description |
|---|---|---|
| newState | EditorState | The new state. |
Returns: void
EditorView › setState
Official
Reset the view to the given state.Signature:
setState(newState: EditorState): voidParameters:
| Parameter | Type | Description |
|---|---|---|
| newState | EditorState | The new state. |
Returns: void