Skip to content

MarkdownScrollableEditView.onUpdate method

MarkdownScrollableEditView › onUpdate

Unofficial

Execute functionality on CM editor state update.

Signature:

onUpdate(update: ViewUpdate, changed: boolean): void

Parameters:

Parameter Type Description
update ViewUpdate The CodeMirror view update.
changed boolean Whether the document content changed.

Returns: void