How to load a 3rd party JS library into a widget for a plugin?

zEitEr

Super Moderator
Joined
Apr 11, 2005
Messages
13,932
Location
GMT +7.00
Hello,

Let's say we have a custom plugin which need to load a 3rd party library into a widget tab

HTML:
<script type="text/javascript" src="https://www.gstatic.com/charts/loader.js"></script>
How to complete it? The library does not seem to get loaded in a widget panel.
 

torko

Verified User
Joined
Mar 15, 2011
Messages
89
Location
Hungary
Add it to app.html
I have a custom.css in app.html :) But avoid overwrite the app.html on skin update. It's better to create a custom skin folder like named Evo (I'm using this method too)
 
Top