Merge pull request #22 from danieldunderfelt/master

Fix README errors relating to the Droppable API
This commit is contained in:
Max Hoffmann 2017-10-03 16:44:48 -04:00 committed by GitHub
commit c110ec779d

View File

@ -227,9 +227,7 @@ new Sortable(document.querySelectorAll('ul'))
## Droppable ## Droppable
Droppable allows you to declare draggable and droppable elements via options. Droppable allows you to declare draggable and droppable elements via options.
Droppable fires two events on top of the draggable events: `droppable:over` and `droppable:out`.
Sortable allows you to reorder elements. It maintains the order internally and fires
three events on top of the draggable events: `sortable:start`, `sortable:sorted` and `sortable:stop`.
### API ### API