How to use 3rd script's function
cpdtzy opened this issue · comments
I had add 3rd script in my react files, and I want to use 3rd script's function in my react component, but it will be error about undefind.
You can use newly loaded script's function or variables with window
prefix.
window.funcName()