Closed LonaExe closed 4 years ago
It doesn't look like you've exposed the second function. You need to add the @eel.expose
decorator before every function in Python that you want to expose to JavaScript.
Does that help/fix your issue?
Ohh.. Thanks a lot dude, I thought we needed to just add one. I'm so dumb. Thanks again
No worries :)
Hey all, I'm trying to make a bunch of functions and call them from Python to Js. Even though I can see the output in the command line, I cannot alert() it or use innerHTML.. I have no idea if multiple functions are supported by Eel, and if they are, how to call them. I'm fairly good at Python but I don't know much JS. Its probably a silly mistake, but any help would be appreciated.
Desktop (please complete the following information):