<nve-monaco-input>
Properties
Determines whether to disable validation of the input.
true
false
Controls how the editor wraps text.
off
on
wordWrapColumn
bounded
The current value/content of the editor.
string
Determines the number of spaces to use for indentation.
number
JSON schema for validation when the language equals 'json'. https://json-schema.org/
JSONSchema
Determines whether the input requires a value.
true
false
Determines whether the editor is in read-only mode.
true
false
Determines whether to show the minimap (code overview) on the right side of the editor.
true
false
Controls the display of line numbers in the editor.
on
off
relative
interval
LineNumberFormatter
Determines whether to insert spaces instead of tabs when pressing the tab key.
true
false
Determines whether the editor supports code folding.
true
false
Determines whether the input prevents editing.
true
false
Defines the programming language for syntax highlighting and validation.
css
go
html
javascript
json
markdown
plaintext
python
shell
sql
typescript
yaml
string
Events
Dispatched when syntax validation state changes.
Dispatched when the control is invalid.
Dispatched when the control state is reset to its initial value.
Dispatched when the user modifies and commits the element's value.
Dispatched when the element's value changes as a result of a user action.
Dispatched when the editor finishes initialization and becomes ready.
Dispatched when the editor cancels initialization.