react-load-script icon indicating copy to clipboard operation
react-load-script copied to clipboard

How to use 3rd script's function

Open cpdtzy opened this issue 5 years ago • 1 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.

cpdtzy avatar Mar 25 '20 12:03 cpdtzy

You can use newly loaded script's function or variables with window prefix.

window.funcName()

shivampip avatar Dec 01 '20 18:12 shivampip