Interaction

Bokeh.js_linkFunction
js_link(model, property, other_model, other_property)

Link two Bokeh model properties via JavaScript.

Whenever model.property is changed, then other_model.other_property is set to its value.

source
Bokeh.js_on_changeFunction
js_on_change(model, event, callbacks...)

Attach CustomJS callbacks to an arbitrary BokehJS model change event.

Change events for model properties are of the form "change:property_name" but as a convenience you can simply provide "property_name".

source