Maybe this thread is what your looking for?
https://discourse.holoviz.org/t/can-a-paramterized-class-react-to-parameters-outside-of-itself/2067/5