SolidEditorController
SolidEditorController =
object
Properties
Section titled “Properties”commands
Section titled “commands”
readonlycommands:SolidEditorCommands
editor
Section titled “editor”editor:
Accessor<Editor|null>
lastChange
Section titled “lastChange”lastChange:
Accessor<EditorContributionChange|null>
materializeFullText
Section titled “materializeFullText”materializeFullText:
Accessor<string>
The whole text of the current revision: O(document length) on the first read of each one.
snapshot
Section titled “snapshot”snapshot:
Accessor<EditorViewSnapshot|null>
state:
Accessor<EditorState|null>
textSnapshot
Section titled “textSnapshot”textSnapshot:
Accessor<TextReadSnapshot|null>
updateKind
Section titled “updateKind”updateKind:
Accessor<EditorViewContributionUpdateKind|null>
Methods
Section titled “Methods”dispose()
Section titled “dispose()”dispose():
void
Returns
Section titled “Returns”void
element()
Section titled “element()”element(
element):void
Pass as a JSX ref; creates the editor after Solid mounts and disposes it with its owner.
Parameters
Section titled “Parameters”element
Section titled “element”HTMLElement
Returns
Section titled “Returns”void