Closed reverofevil closed 9 years ago
You can check that by doing structure.history.size
.
var structure = immstruct.withHistory({ num: 1 });
var cursor = structure.cursor();
cursor = cursor.set('num', 2);
cursor = cursor.set('num', 3);
console.log(structure.history.size); //> 3
Thank you!
How do I get quantity of available undo actions?