Editor.exec method
Editor › exec
Official
Execute a command.Signature:
exec(command: EditorCommandName): voidParameters:
| Parameter | Type | Description |
|---|---|---|
| command | EditorCommandName | The command to execute. |
Returns: void
Since: 0.12.2
Example:
editor.exec('goUp');