Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Calling JavaScript from Go? #39

Open
raguay opened this issue Feb 14, 2020 · 3 comments
Open

Calling JavaScript from Go? #39

raguay opened this issue Feb 14, 2020 · 3 comments

Comments

@raguay
Copy link

raguay commented Feb 14, 2020

I need a way to call the JavaScript from Go. I'm trying to run a http server with the gui being updated from it. I'm trying a polling routine, but when the cursor isn't over the UI, it quits running.

@raguay
Copy link
Author

raguay commented Feb 18, 2020

Okay, I found the Eval() function, but I can’t seem to get it to work. Any examples?

@raguay
Copy link
Author

raguay commented Feb 21, 2020

Okay, I have the Eva() function working, but the browser area doesn’t update unless the cursor is over it. This is definitely a bug and I can’t use this until that is fixed or you help me to know of a solution?

@raguay
Copy link
Author

raguay commented Feb 21, 2020

Also, the JavaScript of the browser doesn’t seem to accept the output of the Svelte compiler.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant