Sha256: f7ee039141929b81c29426845432565cab8073383cb4195fe0b613714c47635d
Contents?: true
Size: 421 Bytes
Versions: 12
Compression:
Stored size: 421 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. `dragId` is a REQUIRED prop for Draggable.Item.
Version data entries
12 entries across 12 versions & 2 rubygems