MCPcopy Create free account
hub / github.com/plotly/plotly.js / mouseUpHandler

Function mouseUpHandler

src/components/sliders/draw.js:490–503  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

488 $gd.on('touchmove', mouseMoveHandler);
489
490 function mouseUpHandler() {
491 var sliderOpts = getSliderOpts();
492 sliderOpts._dragging = false;
493 grip.call(Color.fill, sliderOpts.bgcolor);
494 $gd.on('mouseup', null);
495 $gd.on('mousemove', null);
496 $gd.on('touchend', null);
497 $gd.on('touchmove', null);
498
499 gd.emit('plotly_sliderend', {
500 slider: sliderOpts,
501 step: sliderOpts.steps[sliderOpts.active]
502 });
503 }
504
505 $gd.on('mouseup', mouseUpHandler);
506 $gd.on('touchend', mouseUpHandler);

Callers

nothing calls this directly

Calls 1

getSliderOptsFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…