-
Notifications
You must be signed in to change notification settings - Fork 18
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
Please support events. #66
Comments
By I'd like to explore the design space a little bit here. In particular, with Jupyter Widgets it's possible to define widgets that are not displayed. And so one idea I've thought about is to define widget variants of the |
I don't know what is possible. But i am thinking about all the normal events like click, mouse Enter, mouse leave, mouse over, selections etc. I would like the VegaFusion pane to cover minimum the same features and use cases as the Panel Bega pane. |
I'm not seeing documentation of where the Panel Vega pane supports "click, mouse Enter, mouse leave, mouse over" events. Am I missing that somewhere in https://pyviz-dev.github.io/panel/reference/panes/Vega.html? |
It is actually in the documentation. https://pyviz-dev.github.io/panel/reference/panes/Vega.html#selections. But it is not very clear unless you run the documentation as a notebook. It also looks like Altair/ Vega has more specific events than click etc. Here is an example of subscribing to the Another place to look is probably this PR holoviz/panel#2592. |
See also this discussion. vega/altair#1153 |
Panel 0.13 (to be released in weeks) will provide support for events on the Vega pane.
I would like to be able to provide the same on the Panel VegaFusion pane.
I don't know if this is currently possible with VegaFusion or how?
Inspiration
You can find the typescript implementation of the Vega pane here https://github.com/holoviz/panel/blob/master/panel/models/vega.ts
You can find the development version of the Vega pane docs here describing the event api here https://pyviz-dev.github.io/panel/reference/panes/Vega.html
The text was updated successfully, but these errors were encountered: