Web Export
Script Page options
Page JavaScript
The Script field works the same as the Stylesheet name field, the Stylesheet template and Expected Stylesheet output.
The Script name is the name of the file to that contains the page JavaScript when the External JavaScript option is checked.
You can set the External Script option to export the JavaScript separately to an external file.
You can also use Code Blocks to add code to your page.

Example Project

xd-examples/web-export/examples/external-javascript at master · velara3/xd-examples
Exporting to an external JavaScript file
Copy link