Closed mkzaker closed 8 months ago
You can clear the canvas by simply setting your bound property to an empty array.
To change the size of the canvas you can override the CSS class signaturepad and set your custom height and width.
You can now define the width and height bei either applying width
or height
attributes or by defining a custom style
attribute on the component itself
how i can set custom height and clear canvas programmatically?