Are eventListeners supported in the platform?

i've gotten window event listeners working when adding them to the app Preloaded JS. try adding the window event listeners there if you're able to, this won't work for all use cases but I think for your situation you might be able to use this. I have a small example here of adding a variable and event listener to window. functions and variables need to be assigned to window.function_name = function(){} and can be called anywhere with window.function_name()

@Jack_T's solution is probably the best way to go about things, but I like providing people with options :beers:

1 Like