High
Is it possible to add non javascript code in the interactivity part of the object properties?
I would like to see the stroke property change within inkscape .... is it possible?
Regards
Bruno
Inkscape 0.92: interactivity is it only Javascript?
Re: Inkscape 0.92: interactivity is it only Javascript?
It's only JavaScript. The interactivity sections correspond to attributes that are added to the XML file, and which are only interpreted by browsers - which, in turn, only support JavaScript.
Inkscape itself does not have a JS interpreter, so although you can enter some JS in those sections for use in a browser, Inkscape itself doesn't run the code. I don't know of any other way to add interactivity that will have an effect within Inkscape itself.
My long-running tutorial series is currently in the middle of a lengthy section on JS in SVG and Inkscape. It may not serve your requirements, but it's worth mentioning in case anyone else reads this thread and wants to pursue some JS in SVG for use in a browser.
Inkscape itself does not have a JS interpreter, so although you can enter some JS in those sections for use in a browser, Inkscape itself doesn't run the code. I don't know of any other way to add interactivity that will have an effect within Inkscape itself.
My long-running tutorial series is currently in the middle of a lengthy section on JS in SVG and Inkscape. It may not serve your requirements, but it's worth mentioning in case anyone else reads this thread and wants to pursue some JS in SVG for use in a browser.