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

Onclick event on button #37

Closed
hariharakumar7 opened this issue Jun 21, 2019 · 5 comments
Closed

Onclick event on button #37

hariharakumar7 opened this issue Jun 21, 2019 · 5 comments
Assignees
Labels
enhancement New feature or request

Comments

@hariharakumar7
Copy link

May I know if there is a way to click on a button and have something like an onclick event?

@boludo00
Copy link
Collaborator

boludo00 commented Jul 9, 2019

This is possible however not through the python layer currently. VisJS does support onlick event handling that I have used in the past with pure javascript. It is possible to modify the templates used to render the graphs to include custom JS onclick events but is lacking implementation. I will keep this open since this a cool feature.

@boludo00 boludo00 self-assigned this Jul 9, 2019
@filyp
Copy link

filyp commented May 30, 2021

Any progress on this? This would be really awesome.

@gurneetbhatia
Copy link

It's actually a really simple javascript implementation, only took me 3-4 lines of code. I'll make a PR over the weekend

@Andrew-Draganov
Copy link

Is there an update on this? I would also love the ability to do something like this.

@jhunpingco jhunpingco added the enhancement New feature or request label May 23, 2022
@dperez-01
Copy link

Hello, any updates on this? Seems to be closed, but was this implemented? @gurneetbhatia did you do the mentioned PR?
Thanks.

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

No branches or pull requests

7 participants