jSignature icon indicating copy to clipboard operation
jSignature copied to clipboard

How to check the canvas is empty or blank

Open tkslabz opened this issue 6 years ago • 2 comments

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

tkslabz avatar Aug 22 '18 06:08 tkslabz

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

barkdoll avatar Dec 19 '18 20:12 barkdoll

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

use it

TianqiHo avatar Jun 21 '19 03:06 TianqiHo