- Fixed a bug where default value was applied for throttle when throttle was set to 0. (mkrause in #247)
- No changes since 2.1.0-beta.1.
Unfortunately, some breaking changes were introduced in 1.6.0, so to follow the semantic versioning, it's re-released as 2.0.0.
- Removed support for Bower. If you still need it, use 1.5.3 release.
- Moved
signature_pad.js
andsignature_pad.min.js
files todist
folder. - Added ES6 version of the library for use with webpack etc.
- Added support for returning signature as SVG using
#fromDataURL('image/svg+xml')
. jackspirou mymattcarroll szimek - Added
#toData
method that returns data points. - Added
#fromData
method that draws signature from data points. - Moved
signature_pad.js
andsignature_pad.min.js
files todist
folder.
- Fix
touchend
event on touch devices. (#150) mtomic - Fix handling touch events in Egde browser. (#134) dideldum73
- Prevent loading an empty string in
fromDataURL
. (#108) Remo - Reject points generated by resting hand (better handling of multi touch). (#48 and #57) jurreantonisse
- Prevent duplicate events on tap in iOS Safari. PerfectPixel
- Add
on
method that rebinds all event handlers. Alplob
- Add
off
method that unbinds all event handlers. Rob-ot
- Fix support for Browserify. chevett
- Add support for CommonJS/AMD/UMD.
- Really fix
fromDataURL
on HiDPI screens.
- Fix
fromDataURL
on HiDPI screens.
- Fix
onBegin
andonEnd
callbacks when passed as options to constructor. yinsee
- Fix handling touch events on mobile IE. tocsoft
- Add
onBegin
andonEnd
callbacks. rogerz
- Fix bug where stroke becomes very thin. mvirkkunen
- Fix
SignaturePad#fromDataURL
on Firefox. Fr3nzzy
- Make
SignaturePad#isEmpty
return false after loading an image usingSignaturePad#fromDataURL
. krisivanov
- Fixed
SignaturePad#clear()
.
- Add
backgroundColor
option to set custom color of the background onSignaturePad#clear()
. - Rename
color
option topenColor
. - Fix passing arguments to canvas element on
SignaturePad#toDataURL()
.