Lightweight canvas-based signature component for smooth drawing and easy signature export based on the popular library signature_pad.
It works in all modern desktop and mobile browsers and doesn't depend on any external libraries.
This version adds stroke events and makes canvas resizing more reliable:
beginStroke
endStroke
beforeUpdateStroke
afterUpdateStroke