Import script object

<< Click to Display Table of Contents >>

Navigation:  Forum >

Import script object

Forum link

 


 

07-12-2022, 01:51 PM:

 

I need to insert this javascript code on <body> tag:

 

<script type="module">

 

import screenfull from './js1/fullscreen.js';

 

</script>

 

How/where can I do this?

 


 

07-17-2022, 11:34 PM:

 

Not easily done unless you are using templates. We're introducing a new feature that will allow you to add both code and files to be rendered in script module tags and it will be available soon.

 

Cheers