I’m still getting my feet wet here. Using the inputs library from @jashkenas, I’ve created some sliders as in the code below (the import statement is actually in its own cell at the bottom of the notebook - I just put it here for completeness). Suppose that the values are mathematically related, so when any slider is adjusted, I get notified that a change has occurred and which slider was adjusted, and then I compute new values for the other sliders. I want to set the other sliders to display these new values. I’ve not been able to work this out from the docs, examples, or doing tests. Can someone please show me the way?
Thank you! I’ve tried to replicate that using your slider() routine. This doesn’t give me any errors, but it doesn’t update the slider, either! I’m not sure how to link to a private notebook - here’s the URL I see in my browser: https://beta.observablehq.com/d/fae8e01fa16acdb1 If that doesn’t work, here’s the essential bit of the code. These two lines are in different cells. When I adjust the slider for line_A, I’d expect to see the slider for line_b move in response, but that slider does not update.