Angular 5 component for szimek/signature_pad.
<< This is fork of wulfsolter/angular2-signaturepad ported to angular 5 >>
npm install angular5-signaturepad --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;;