When the graph is clicked, we set the 3D position of that click in a store. This store as a dict id.
Each slider uses a callback with a pattern matching input to listen to these position-set-signals.
This callback selects the dimension that applies to the current slicer, and convert the position to an index, then sets the slider value.
The disadvantage is that application code can no longer use the slider value as output, but that felt kinda iffy anyway. The new approach is for users to create a store with a similar dict-id. The advantage of this is that the slicer positions can be set from multiple sources!
Closes #16
In short:
The disadvantage is that application code can no longer use the slider value as output, but that felt kinda iffy anyway. The new approach is for users to create a store with a similar dict-id. The advantage of this is that the slicer positions can be set from multiple sources!