@jsvision/code-editor / CodeEditorControllerEvent
Type Alias: CodeEditorControllerEvent
CodeEditorControllerEvent = {
kind:"presentation";presentation:CodeEditorControllerPresentation; } | {kind:"document";mutation:CodeEditorControllerMutationEvent;presentation:CodeEditorControllerPresentation; }
Defined in: code-editor/src/controller.ts:98
One coalesced controller change delivered to a terminal view.
Union Members
Type Literal
{ kind: "presentation"; presentation: CodeEditorControllerPresentation; }
kind
readonlykind:"presentation"
Identifies a render-only state transition.
presentation
readonlypresentation:CodeEditorControllerPresentation
Latest immutable state for terminal projection.
Type Literal
{ kind: "document"; mutation: CodeEditorControllerMutationEvent; presentation: CodeEditorControllerPresentation; }
kind
readonlykind:"document"
Identifies one accepted source transaction.
mutation
readonlymutation:CodeEditorControllerMutationEvent
Exact transaction metadata delivered once to each live subscriber.
presentation
readonlypresentation:CodeEditorControllerPresentation
Latest immutable state after the transaction.