Clears the signature.
The clear()
function erases the signature from the signature pad and clears the value
property.
Clearing the signature using the clear()
function does not trigger the onChange
event handler.
Note, however, that clearing the signature using the Clear button does trigger an onChange()
event handler, unless the signature input field is already empty.