Skip to content
Sheetwrite

Sheetwrite / Documentation

CommitReason@sheetwrite/core

The gesture/operation that produced a committed transaction.

The gesture/operation that produced a committed transaction. Consumers switching on reasons MUST keep a default branch — the union grows with new mutation features.

Declaration

export type CommitReason =
| "edit-blur"
| "edit-enter"
| "edit-tab"
| "edit-programmatic"
| "paste"
| "cut"
| "clear"
| "fill"
| "structure"
| "style"
| "replace"
| "undo"
| "redo"
| "api";