Type Editor / @type-editor/history / helper/undo-depth
helper/undo-depth
Functions
| Function | Description |
|---|---|
Returns the number of undoable events available in the editor's history. This can be used to determine whether the undo command is available, or to display the undo history depth in the UI. Example typescript |