HistoryManager
Table of contents
class HistoryManager<R extends UnknownRecord> {}
Constructs a new instance of the HistoryManager
class
Parameters
Name | Description |
---|---|
|
|
Properties
bail: () => this
bailToMark: (id: string) => this
batch: (fn: () => void, opts?: TLHistoryBatchOptions) => this
readonly dispose: () => void
mark: (id?: string) => string
redo: () => this
squashToMark: (id: string) => this
undo: () => this
Methods
clear(): void
getNumRedos(): number
getNumUndos(): number