Skip to content

@jsvision/code-editor / CodeEditorControllerMutationEvent

Interface: CodeEditorControllerMutationEvent

Defined in: code-editor/src/controller.ts:88

Metadata for one accepted mutation after every document invariant has been updated.

Properties

after

readonly after: DocumentIdentity

Defined in: code-editor/src/controller.ts:94

Exact identity after the operation was applied.


before

readonly before: DocumentIdentity

Defined in: code-editor/src/controller.ts:92

Exact identity before the operation was applied.


origin

readonly origin: EditOrigin

Defined in: code-editor/src/controller.ts:90

Source of the accepted atomic operation.