javascript - How do I access methods from one JS file from another in a Swift 3 WKWebview project? -


i have loaded external js file dom wkwebview. works fine. trying add functionality javascript library. have tried loading js file , importing method external library it. have tried loading both js files dom adduserscript, , doesn't seem work (specifically prevents code worked running)

i know correct method have both files loaded dom can use methods library in js file. library optimal-select , using single file version optimal-select.js

i have not added code because works without second js file. add code if necessary


Comments

Popular posts from this blog

python - Operations inside variables -

Generic Map Parameter java -

arrays - What causes a java.lang.ArrayIndexOutOfBoundsException and how do I prevent it? -