CodeMirror
A component that integrates the CodeMirror editor.
Properties
The JavaScript files of Codemirror to load, either locally or from a CDN.
Whether or not to show the line numbers.
Whether or not to wrap the lines.
The content to display until the editor is loaded.
The mode of the editor.
Handler for the change event.
Whether or not the content is editable.
The CSS files of Codemirror to load, either locally or from a CDN.
The number of spaces used for indentation.
The theme of the editor.
When provided this value will be in the editor.
Functions
Loads all assets when the components mounts.
After an update, update the underlying editor instance.
Initializes the editor for the given dom element.
Renders the component.