You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I wanted this feature as well. I don't know that everybody would want it, but it was definitely awkward having the data update when the slider is done being dragged, but not when clicked to a new position. You can get this if you dispatch "slide", but in my case it didn't make sense to update the data as frequently as that - I have a comparatively small step compared to the range of the slider, so it is essentially continuous.
For others who may want this, I did get the functionality I wanted by adding:
dispatch.slideend(d3.event, value);
to the end of the onClickHorizontal() and onClickVertical() functions.
I could see this as an option to turn on or off, and I could also see making the click event itself optional. It depends on how you want to direct the user to interact with the data.
When clicking on the slider, the slider moves to the new position but does not dispatch a "slideend" event.
The text was updated successfully, but these errors were encountered: