I want to add some cool animated visual stuff to my page, it requires some JS and HTML tag
I haven’t found any option for that, how can I do that?
Example:
result will be like
I want to add some cool animated visual stuff to my page, it requires some JS and HTML tag
I haven’t found any option for that, how can I do that?
Example:
result will be like
Hi,
to render the canvas on your page, the best way is to use the HTML element with this code
<canvas id="scene"></canvas>
You can then use on page load workflow to execute the javascript page. Please note that
wwLib.getFrontDocument()
instead of document
An other option will be to take a look at developping a custom component, your code is easily adaptable to a Vue component, even if you are new to Vue. Please let me know if you need help on that.
Thank you a lot! Im going to dig into custom components if it’s the best way.