Skip to content

API

Props

namedescriptiondefault
widthsignature width300
heightsignature height100
strokeColorpen colorblack
strokeSizepen size2

Methods

namedescriptionparams
clearclear canvas
getSignatureget signature base64 dataformat: (image/png)(image/jpeg)(image/svg+xml)
isEmptyreturn canvas is empty?

Released under the MIT License.