Sha256: 2549c0d137feed74f1418cee20d2b8b09b5970590a6f1e7b1b93b311a44c2541
Contents?: true
Size: 430 Bytes
Versions: 7
Compression:
Stored size: 430 Bytes
Contents
To use the Draggable kit, you must use the DraggableProvider and pass in `initialItems`. The `onReorder` is a function that returns the data as it changes as items are reordered. Use this to manage state as shown. The `Draggable.Container` specifies the container within which items can be dropped. The `Draggable.Item` specifies the items that can be dragged and dropped. `Draggable.Item` requires `id` to be passed in as shown.
Version data entries
7 entries across 7 versions & 2 rubygems