Last active
May 15, 2021 14:55
-
-
Save LuffyAnshul/adc1bdda9c491b04bdf8704ec9856d7d to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const _onSaveEvent = (result) => { | |
//result.encoded - for the base64 encoded png | |
//result.pathName - for the file path name | |
alert('Signature Captured Successfully'); | |
console.log(result.encoded); | |
}; | |
const _onDragEvent = () => { | |
// This callback will be called when the user enters signature | |
console.log('dragged'); | |
}; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment