Skip to content

Commit

Permalink
Merge pull request mootools#1054 from ojii/patch-1
Browse files Browse the repository at this point in the history
Added note that buttons/inputs/anchors/textareas cannot be used as handle
  • Loading branch information
Arian Stolwijk committed Oct 19, 2011
2 parents 7065c9a + 5237a87 commit e63a0cd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Docs/Drag/Sortables.md
Expand Up @@ -26,7 +26,7 @@ Sortables Method: constructor
### Options:

* clone - (*mixed*: defaults to *false*) Whether or not to display a copy of the actual element under the cursor while dragging. May also be used as a function which will return an element to be used as the clone. The function will receive the mousedown event, the element, and the list as arguments.
* handle - (*string*: defaults to *false*) A selector to select an element inside each sortable item to be used as the handle for sorting that item. If no match is found, the element is used as its own handle.
* handle - (*string*: defaults to *false*) A selector to select an element inside each sortable item to be used as the handle for sorting that item. If no match is found, the element is used as its own handle. Cannot be used on buttons, inputs, anchors or textareas.
* opacity - (*number*: defaults to *1*) Opacity of the place holding element
* revert - (*mixed*: defaults to *false*) Whether or not to use an effect to slide the element into its final location after sorting. If you pass an object it will be used as additional options for the revert effect.
* dragOptions - (*object*; defaults to *{}*) The options to apply internally to sortable's [Drag.Move][] instances.
Expand Down

0 comments on commit e63a0cd

Please sign in to comment.