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