You're Invited:Meet the Socket Team at BlackHat and DEF CON in Las Vegas, Aug 7-8.RSVP
Socket
Socket
Sign inDemoInstall

signature_pad

Package Overview
Dependencies
Maintainers
1
Versions
55
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

signature_pad - npm Package Versions

Previous
1
6
Next

2.3.0

Diff

Changelog

Source

2.3.0

Bug Fixes
  • Updated demo to call SignaturePad#clear on window resize, to make sure that SignaturePad#isEmpty returns the correct value. Closes #94.
Features
  • Added minDistance option to skip points that are too close to each other (in px). It improves drawing quality (especially when drawing slowly), but introduces small lag. The default value is set to 5. To switch back to the old behavior, set it to 0.
szimek
published 2.2.1 •

Changelog

Source

2.2.1

Bug Fixes
  • Fix #toData/#fromData to draw the last point in each curve as well. Fixes #270.
  • Fix #fromData to properly set internal data structure. Fixes #271.
szimek
published 2.2.0 •

Changelog

Source

2.2.0

Bug Fixes
Features
  • Allow custom ratio/width/height when loading data URL onto canvas. (halo in #253)
szimek
published 2.1.1 •

Changelog

Source

2.1.1

  • Fixed a bug where default value was applied for throttle when throttle was set to 0. (mkrause in #247)
szimek
published 2.1.0 •

Changelog

Source

2.1.0

  • No changes since 2.1.0-beta.1.
szimek
published 2.1.0-beta.1 •

Changelog

Source

2.1.0-beta.1

szimek
published 2.0.0 •

Changelog

Source

2.0.0

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 and signature_pad.min.js files to dist folder.
  • Added ES6 version of the library for use with webpack etc.
szimek
published 1.6.0 •

Changelog

Source

1.6.0 (deprecated in favor of 2.0.0)

  • 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 and signature_pad.min.js files to dist folder.
szimek
published 1.6.0-beta.9 •

szimek
published 1.6.0-beta.8 •

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc