This components is a simple workaround to make Undo/Redo functionality work.
Members
Methods
-
destroy()
-
Destroy class.
-
restore()
-
Restore state to the previous one.
-
save(axis, index, amount)
-
Save snapshot for specified action.
Parameters:
Name Type Description axis
string Alter action which triggers snapshot.
index
number Alter operation stared at.
amount
number Amount of items to operate.