OperationChangeCallback
type OperationChangeCallback = (action: OperationAction, record: AppliedRecord) => void;Hears every change the history takes: what happened and the numbered record, undo and redo included.
Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
action |
OperationAction |
record |
AppliedRecord |
Returns
Section titled “Returns”void