I’m currently looking into BokehJS and simply cannot find out, how to bind a callback to a selection
event. In python one could do something like that:
source.selected.js_on_change('indices', CustomJS(args=dict(source=source), code=""" console.log("Hello selection!") """) )
This doesn’t seem to work in BokehJS, because js_on_change is undefined.
So my questions are the following:
- What’s the intended way of doing this in BokehJS?
Thanks in advance!
And here my script: