The context is passed to the render function of Editor. It allows the rendered Virtual DOM nodes to triggger events specific to the editor (which then trigger state update via the update function).
render
Editor
update
Trigger the evaluation of a given code block.
Set the source of a given code block to the newSource and trigger rebinding of all subsequent code blocks in a notebook.
newSource
Trigger an editor-specific event to be handled via the update function
Generated using TypeDoc
The context is passed to the
render
function ofEditor
. It allows the rendered Virtual DOM nodes to triggger events specific to the editor (which then trigger state update via theupdate
function).