HistoryStackOptions
Documentation / @elitechart/core / HistoryStackOptions
Defined in: history/history-stack.ts:57
Constructor options for HistoryStack.
Example
Properties
maxEntries?
Defined in: history/history-stack.ts:59
Maximum undoable commands. Oldest are evicted when exceeded. Default 200.
onChange?
Defined in: history/history-stack.ts:61
Called when the stack state changes (undo/redo availability).
Parameters
state
Returns
void