q2apro
q2apro
https://cindyjs.org/ref/File_Management.html#javascript$1 I got it working, fetching the variable from the scope: javascript("alert(font_size)"); Before I forgot the "" marks. https://cindyjs.org/ref/File_Management.html#javascript$1 However, I cannot get it within cs*: javascript("alert(font_size)"); // does the...
My bad. I renamed the var to `font_size`. And no, it does not work.
This happens when you work the first time with CindyJS from 7:00 - 15:00 and you are super excited about this insane geometry library ;) Typo corrected. Here is the...
Thanks for the information. Writing a plugin seems overkill. It had been nice to have an easy way to communicate **between HTML and CindyJS** on the website. At least to...
The answer of how to push the cindyjs data to javascript is still missing. > This functionality is especially important if we want to access HTML input fields from outside...
Just for documentation: **To communicate between Javascript and CindyJS** I am using the following now: ``` var cdy = CindyJS({ scripts: { init: ` zahler = 1; nenner = 1;...
Thanks a lot. It's just semantically weird to write: `type:"Free", pinned: true, ...`
Again running into this issues and then finding this post only after searching for ~10 minutes ... It would be great to have `type="Static"` here instead. Please consider this implementation,...
I put it only into the `init` but then it is not working :( > The drawing command have to remain in the drawscript. Then it keeps on re-drawing regularly.
It would also be helpful to disable the touch when the drawing is disabled. Goal is to have an image drawn as an image (once), and then have it on...