由用户创建的信息 LukeVideo
10 June 2016 23:00
10 June 2016 17:09
10 June 2016 16:22
09 June 2016 22:25
09 June 2016 17:35
09 June 2016 16:25
09 June 2016 12:30
I couldn't resist opening the 2000 topic in the Newbies Question section
So my question is can i create my own modules in JS so that the functions i need to call in Blander could also be called in the web page, from out of the canvas?
I call a function from my app that opens a div on top of my app by removing a class ( with display none). But once the div is open i can't call the function that opened it… It's Undefined in the context of the div.
So is the scope off the JS file private to the canvas where the seen is loaded ?
I was thinking that i might write another JS file and import it as a module in the main JS file created by the project manager and thereby i could probably import it in the HTML file via another JS file that would import it to?
Does that make sense?
So my question is can i create my own modules in JS so that the functions i need to call in Blander could also be called in the web page, from out of the canvas?
I call a function from my app that opens a div on top of my app by removing a class ( with display none). But once the div is open i can't call the function that opened it… It's Undefined in the context of the div.
So is the scope off the JS file private to the canvas where the seen is loaded ?
I was thinking that i might write another JS file and import it as a module in the main JS file created by the project manager and thereby i could probably import it in the HTML file via another JS file that would import it to?
Does that make sense?
08 June 2016 15:39