mirror of
https://github.com/Shopify/draggable.git
synced 2025-12-08 20:15:56 +00:00
Merge pull request #22 from danieldunderfelt/master
Fix README errors relating to the Droppable API
This commit is contained in:
commit
c110ec779d
@ -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
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user