0

What is the 1 parameter below when disabling a draggable, is it the number of seconds to wait until the draggable is disabled ?

$("#drop-target").droppable({
    drop: function(event, ui) {
        ui.draggable.draggable("disable", 1); 
});

I seen this in answer by Boblet at question : How do I disable a jquery-ui draggable?

If this constructor is not valid why does it work ?

Community
  • 1
  • 1
blue-sky
  • 51,962
  • 152
  • 427
  • 752

1 Answers1

0

There is no such thing. There is no need of passing 1. I couldn't find this constructor in jquery draggable.

Where you got this?

Zahid Riaz
  • 2,879
  • 3
  • 27
  • 38