Sha256: 0dfe6bb2f134e75d71300c794ab6cb605f1b1fa8a8607243caac4df2afd4584f
Contents?: true
Size: 429 Bytes
Versions: 5
Compression:
Stored size: 429 Bytes
Contents
To use the Draggable kit, you must use the DraggableProvider and pass in `initialItems`. The `onChange` 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
5 entries across 5 versions & 2 rubygems