diff --git a/README.md b/README.md index 85bead5..0e6b659 100644 --- a/README.md +++ b/README.md @@ -93,36 +93,6 @@ var sortable = new Sortable(el, { }); ``` ---- - - -#### `handle` option -To make list items draggable, Sortable disables text selection by the user. -That's not always desirable. To allow text selection, define a drag handler, -which is an area of every list element that allows it to be dragged around. - -Demo: http://jsbin.com/newize/1/edit?html,js,output - -```js -Sortable.create(el, { - handle: ".my-handle" -}); -``` - -```html - -``` - -```css -.my-handle { - cursor: move; - cursor: -webkit-grabbing; -} -``` - --- @@ -167,6 +137,37 @@ document.getElementById("switcher").onclick = function () { --- +#### `handle` option +To make list items draggable, Sortable disables text selection by the user. +That's not always desirable. To allow text selection, define a drag handler, +which is an area of every list element that allows it to be dragged around. + +Demo: http://jsbin.com/newize/1/edit?html,js,output + +```js +Sortable.create(el, { + handle: ".my-handle" +}); +``` + +```html + +``` + +```css +.my-handle { + cursor: move; + cursor: -webkit-grabbing; +} +``` + + +--- + + #### `filter` option