adcornaglia
I have really no time to do this..
There are 3 way to use external javascript library.
1- directly from index.html file (C2 generated during project export) this methode erase your javascript call functions every export time, ( C2 overwrite index.html file);
2- Using Browser object and do this with event.
3- Use SDK plugin template and include javascript library name on edittime dependency: 'mylib.js' for exemple
and call the function insite runtime.js file... etc. (external javascript will loaded when inserting plugin in your project)
external javascrip file must be in your plugin drawer;
Regards