The current monaco editor instance. undefined
in case the editor was not created yet.
Calls the given handler with the current monaco editor instance if it exists.
Type of the return value.
Handler that is invoked with the current monaco editor instance.
Default value that is returned when no editor exists currently, or when the handler throws.
The return value of the handler, or the default return value if either no editor exists or the handler throws an error.
Calls the given handler with the current monaco editor instance if it exists.
Type of the return value.
Handler that is invoked with the current monaco editor instance.
The return value of the handler, or undefined
if either no editor exists or the handler throws
an error.
Calls the given handler with the current monaco editor instance if it exists.
Type of the return value.
Handler that is invoked with the current monaco editor instance.
Default value that is returned when no editor exists currently.
The return value of the handler, or the default return value if no editor exists.
Calls the given handler with the current monaco editor instance if it exists.
Type of the return value.
Handler that is invoked with the current monaco editor instance.
The return value of the handler, or undefined
if no editor exists.
Generated using TypeDoc
Finds the current instance of the monaco editor, if it was created already. Use this to interact with the editor via JavaScript. See also the monaco editor API docs.