/** * @param {String} type * @return {Void} */ state(type)
Save, load or clear saved states. See Using Statesarrow-up-right for more info.
The method accepts a single argument as a String and can be the following:
String
"save" - saves the current selection.
"save"
"undo" - moves back to the last selection
"undo"
"redo" - restores the last undone selection
"redo"
"clear" - removes all saved selections.
"clear"
Last updated 2 years ago