saveState
Type: {Number|Boolean}
Default: false
Enables saving selection states
The property accepts either a Number to set the maximum number of states to save or false to disable state-saving.
When set to a Number, older saves will be pruned when reaching the limit.
new Selectable({
saveState: 10 // sets the maximum number of saved states to 10
});new Selectable({
saveState: false // disables state-saving completely
});Last updated