Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to check the canvas is empty or blank #154

Open
tkslabz opened this issue Aug 22, 2018 · 2 comments
Open

How to check the canvas is empty or blank #154

tkslabz opened this issue Aug 22, 2018 · 2 comments

Comments

@tkslabz
Copy link

tkslabz commented Aug 22, 2018

Hello
I want check the event if user start to draw on canvas or not. Actually i don't want perform any operation if user not draw any content on canvas means if canvas is blank.
Thanks
Regards

@barkdoll
Copy link

I don't know if the functionality is built in to jSignature or not, but this answer may help you.

@TianqiHo
Copy link

var arr = $(sigDomClass).jSignature('getData', 'native');

use it

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants