i would like to program using webviewer app in real time my javascript html and css code for changing my code and get the visual results. its possible make that?
There have been various issues re Assets, but not on these lines as far as I can find. I am testing some html/Javascript code in WebViewer. The test html, js and css files are loaded into Media in Designer. My program then selects the html filenames from Assets and puts these into a ListView. I can then pick the html file which I wish to test. All that works fine in Companion (development) mode, but fails when compiled.
I’m using TaifunFile1.FileList with TaifunTool1.PathToAssets to pull in the…
Taifun
April 20, 2024, 10:17pm
2
Yes
Just try something and if you got stuck, post a screenshot of your relevant blocks
Taifun
TIMAI2
April 20, 2024, 11:15pm
3
You can use the path:
http://localhost/your.html
to load html files from the assets in both companion and compiled apps.
Other files, e.g. .js
files in the assets, can be accessed with relative links in your html