Add on drag event?
krlicmuhamed opened this issue · 3 comments
krlicmuhamed commented
It would be great to have a on('dragstart', function(){..})
event so when user is dragging you can change cursor pointer to grabbing
for example.
asvd commented
There are already events which are reused by dragscrol, namely mousedown
, mousemove
and mouseup
. Are they suitable for your purposes?
This can also be done via CSS:
.dragscroll:active {
cursor : -webkit-grabbing;
cursor : -moz-grabbing;
cursor : -o-grabbing;
cursor : grabbing;
}
m-vo commented
However, .dragscroll:active
is not working in Firefox (tested with 50.1.0) while using dragscroll.js.
KarllosSouza commented