frangoteam / FUXA

Web-based Process Visualization (SCADA/HMI/Dashboard) software
https://frangoteam.org
MIT License
2.84k stars 826 forks source link

Does fuxa-editor support generating icons using code?How? #1400

Closed Daysons closed 2 weeks ago

unocelli commented 1 month ago

Please give an example

Daysons commented 1 month ago

Please give an example Our current functionality allows us to select an icon on the left side and generate it on the right canvas by clicking. I want to implement this process using code. I've managed to select the icon on the left, but now I want to place the icon on the canvas using code instead of mouse clicks.

da2e4f0711d93c8484c63b640d4a24d
unocelli commented 1 month ago

if you intend to execute a script when the button is clicked, you must write a script and then associate the script with the click

Daysons commented 1 month ago

if you intend to execute a script when the button is clicked, you must write a script and then associate the script with the click

i

if you intend to execute a script when the button is clicked, you must write a script and then associate the script with the click

if you intend to execute a script when the button is clicked, you must write a script and then associate the script with the click

The documentation related to click events is the source code of the https://github.com/frangoteam/svgedit repository?

unocelli commented 1 month ago

No, the handler of button click is in FUXA frontend (client)

unocelli commented 2 weeks ago

Let's close here, since there is nothing feasible