Skip to content

v2.0.0

Compare
Choose a tag to compare
@insin insin released this 03 Apr 10:58
· 37 commits to master since this release

Added mask.undo() and mask.redo()

setPattern() now sets/resets the selection.

Breaking changes

setPattern() now takes an options Object for its second argument instead of a String for the new value. value and selection options may be given.

The given (or defaulted) selection object is now used as-is when setting initial selection. It used to be set via setSelection(), which moved it to the first editable index.