brinley / jSignature

jQuery plugin for adding web signature functionality
http://www.unbolt.net/jSignature
696 stars 529 forks source link

How does jSignature determine it's initial size? #110

Closed pjebs closed 8 years ago

pjebs commented 8 years ago

I was wondering how it determines its correct size? Is there a way to force the initial size?

brinley commented 8 years ago

Yes, you can pass height and width when initialising jSignature i.e

$("#signature1").jSignature({width:'100', height:'100px'});

if height and width is not present then it will use the parent container's dimensions

Just realised its not in the README and I will add it