FORUM CTRLX AUTOMATION
ctrlX World Partner Apps for ctrlX AUTOMATION
05-08-2024 01:11 PM
I've had 2 var: posX and posY. I am going to insert f.e. circle shape into layout using this coordinates, how to implement LS for this causes?
Solved! Go to Solution.
05-08-2024 01:25 PM - edited 05-08-2024 01:26 PM
You simply retrieve the widget reference using shmi.onReady, access it's element property and use normal JavaScript to set the CSS style position:
https://stackoverflow.com/questions/8025189/change-the-absolute-position-of-a-div-tag-with-javascrip...
For other code examples have a look at both the scripting demo and animation demo.