Open ahuang11 opened 1 month ago
I had the same issue here
So far I've been using precedence=-1
which I felt was a hack. This is a much better solution. Should be documented.
I think I've reported it elsewhere as a request for a sync=False
attribute on a parameter similar to what Ipywidgets supports. I could not find that request though. And _rename
solution is a great solution.
Without the following, bokeh raises a serialization error
bokeh.core.serialization.SerializationError: can't serialize <class 'function'>
, but https://panel.holoviz.org/reference/custom_components/JSComponent.html doesn't mention anything about it.