Displaying 1 result from an estimated 1 matches for "mousemovetimervalu".
Did you mean:
mousemovetimervalue
2006 Feb 14
0
Another draggable/droppable performance booster
...able.scroll function). This only processes the droppables
list when the mouse stops moving for a split second (100 milliseconds in
my example below), making dragging perfectly smooth while the mouse is
moving. Feel free to tweak the timing to your taste by changing the
integer initial value of this.mouseMoveTimerValue, or by changing the
timeout values from 50 to your preference.
NOTE: If you use this approach it is best to include a hoverclass for
your droppables (so they become highlighted or otherwise different when
activated)... so your users know for sure that it is safe to drop. This
is the only issue...