Closed zaicef closed 7 years ago
Hey,
Currently no, but it should be a big issue adding the capability. Ill try and push a fix for it tomorrow.
Thanks! It will be very useful!
Just pushed a new version. Please note that the API has changed, you now have to call: var myRuler = new ruler({container: document.querySelector('#stage')}); where myRuler is an instance of a controller for the specific canvas.
all API calls are now under myRuler.api
Haven't had time to test it much so let me know if there are any issues
Hello,
Is it possible to initiate a ruler for a div (eg. class="ruler1") with a specific set of options (rulerHeight,fontSize,scale etc..) and a second ruler for another div (eg. class="ruler2") with another set of options in the same page?