saveState
Type Boolean|Number
Default false
Enable the option to auto-save the current selection on mouseup
/ touchend
. See Using States.
You can tell the instance to store a maximum of number of states by setting the option to a Number
. Setting to 0
or false
will disable auto-saving.
You can manually save / load with the state()
method.