Receiving input from html


#1

Is there a way for an HTML view to send data back to the code? I would like to have an edit box displayed as HTML (using the value viewer) and its value returned back to the running program.


#2

This isn’t currently possible. But we wouldn’t be completely against the idea. Is there any particular action you are considering? If you let us know what you’d like it to do it would help in future feature decisions.

Thanks,

Francisco


#3

Yes. I would like to have interaction with the use similarly to widgets functionality in Jupyter. E.g. I would like a use to click in her twitter account and the program will show stats about the account.


#4

I suppose I may have misunderstood – this seems like interaction that is taking place entirely inside of the of the widget. Or are you saying that they click their twitter account and then the array of lets say followers gets copied into a code cell? (If you have a link to an example widget it would make it a lot easier for us to start thinking about how to get that behavior working).

Thanks,

Francisco