-
-
Notifications
You must be signed in to change notification settings - Fork 1.9k
Open
Labels
Description
I have had the need to do something after the rangeslider had changed (update the min/max somewhere else on the page). I did not find any event that fired only after the slider had been released (a.k.a. mouseup) so I changed the rangeslider/draw.js:
function mouseUp() {
dragCover.removeEventListener('mousemove', mouseMove);
dragCover.removeEventListener('mouseup', mouseUp);
Lib.removeElement(dragCover);
// --> new code
gd.emit('plotly_rangesliderend', {
axis: axisOpts,
opts: opts
// --> end new code
});
Is this anything that would be merged? Should I do a PR?
cariacou, jonasvdd and abigailhotaling