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

A simple Example #204

Closed
alirezamecheng opened this issue Jul 18, 2019 · 4 comments
Closed

A simple Example #204

alirezamecheng opened this issue Jul 18, 2019 · 4 comments
Labels

Comments

@alirezamecheng
Copy link

Hello,
I read the documentation and I am confused about the Julia and JavaScript communication (Maby because I have no experience in web development).

I need a simple GUI for my app in a way that the user has three number input forms which by inputting two of them the third one will be calculated by the Julia program and a selection box that returns the selected value to the Julia program then there is a calculate button that runs a function with inputted numbers and selected value from the form.

It will be appreciated if you can help me and give me some examples.

@twavv
Copy link
Member

twavv commented Jul 24, 2019

@alirezamecheng
Copy link
Author

Check this out: https://gist.github.com/travigd/f0ac838addf5f4db06d56da9360275fe

Thanks, It may be a good starting point for me.
Please send me any Example you may find. It will be a very good help.

@alirezamecheng
Copy link
Author

I also found this. I leave it here for others.
JuliaGizmos/Interact.jl#36

@twavv twavv added the question label Jul 30, 2019
@twavv twavv closed this as completed Jul 30, 2019
@NHDaly
Copy link
Collaborator

NHDaly commented Jul 30, 2019

@alirezamecheng this section of the documentation (accessible from the README) contains a simple example of javascript <-> julia communication:
https://juliagizmos.github.io/Blink.jl/latest/guide/#.-Setting-up-interaction-between-Julia-and-JS-1

And it links to this larger page which entirely covers that topic:
https://juliagizmos.github.io/Blink.jl/latest/communication/

The documentation is definitely very sparse, so feel free to send a PR to update it if you have any recommendations! :) We always love documentation PRs! :)

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

No branches or pull requests

3 participants