Angular 10 upgrade of angular2-signaturepad.
npm install ng-sign-pad --save
API is identical to szimek/signature_pad.
Options are as per szimek/signature_pad with the following additions:
- canvasWidth: width of the canvas (px)
- canvasHeight: height of the canvas (px) The above options are provided to avoid accessing the DOM directly from your component to adjust the canvas size.
// import into app module;...// then import for use in a component;;