UndoRedoConfig
Configuration for the undo/redo plugin.
Controls how many edit actions are retained in the history stack.
Example
Section titled “Example”const grid = document.querySelector('tbw-grid');grid.plugins = [ new UndoRedoPlugin({ maxHistorySize: 50 }),];Properties
Section titled “Properties”| Property | Type | Description |
|---|---|---|
maxHistorySize? | number | Maximum number of actions to keep in history. Default: 100 |
AI assistants: For complete API documentation, implementation guides, and code examples for this library, see https://raw.githubusercontent.com/OysteinAmundsen/toolbox/main/llms-full.txt