Edit this page

distance Number(default: 5)

The required distance that the mouse should travel in order to initiate a drag.


<div id="draggable"></div>

    hint: function(element) {
      return element.clone();
    distance: 50
  #draggable {
    width: 50px;
    height: 50px;
    background-color: orange;
    border: 2px solid green;
Is this article helpful? Yes / No
Thank you for your feedback!

Give article feedback

Tell us how we can improve this article