Closed bitowaqr closed 2 years ago
Yes, you can enable the hover
behaviour.
Ah, so easy! Can this work with 'dragover' as well?
I'm not sure what you mean, could you elaborate?
Sorry, what I would like to do is to put a handle-like element somewhere on the page and the user should then be able to drag the handle-element on to the slider. My idea was to remove the handle-like element once the cursor reaches the slider and create a proper handle on the slider at the cursor position – I hope this makes sense?
I guess the problem is, the cursor is dragging an element, so it doesn't trigger the hover event. Is there an easy fix for this?
Never mind, I figured something out myself, and it's probably not a functionality many people would want to use.
https://github.com/bitowaqr/dragon-noUiSlider
Thanks anyway.
That's pretty cool, thanks for sharing the demo!
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.
I'd like to programmatically create a new handle when the cursor is moved over the slider, as if it was clicked at that position. Is there a way to get the position of the new handle position?