Sha256: 67a942436b9b7b9a4a09750f60cef2d4eef9ad1284d65fb226ba2110ca983c2f

Contents?: true

Size: 413 Bytes

Versions: 10

Compression:

Stored size: 413 Bytes

Contents

For a simplified version of the Draggable API for the Card kit, You can use the the Card kit as the Draggable Item by using the `draggableItem` prop. The dragHandle is added by default but this can be opted out of by setting `dragHandle` to false on the Card kit. 

In addition to the above `dragId` is a REQUIRED prop to be passedd to the Card kit when implementing dragging.

The dev must manage state as shown.

Version data entries

10 entries across 10 versions & 2 rubygems

Version Path
playbook_ui_docs-13.31.0.pre.alpha.play1262iconstyles3172 app/pb_kits/playbook/pb_draggable/docs/_draggable_with_cards.md
playbook_ui-13.31.0.pre.alpha.play1262iconstyles3172 app/pb_kits/playbook/pb_draggable/docs/_draggable_with_cards.md
playbook_ui_docs-13.31.0.pre.alpha.play1262iconstyles3171 app/pb_kits/playbook/pb_draggable/docs/_draggable_with_cards.md
playbook_ui-13.31.0.pre.alpha.play1262iconstyles3171 app/pb_kits/playbook/pb_draggable/docs/_draggable_with_cards.md
playbook_ui_docs-13.31.0 app/pb_kits/playbook/pb_draggable/docs/_draggable_with_cards.md
playbook_ui-13.31.0 app/pb_kits/playbook/pb_draggable/docs/_draggable_with_cards.md
playbook_ui_docs-13.30.0.pre.alpha.play1367contenttagnoninputkits3159 app/pb_kits/playbook/pb_draggable/docs/_draggable_with_cards.md
playbook_ui-13.30.0.pre.alpha.play1367contenttagnoninputkits3159 app/pb_kits/playbook/pb_draggable/docs/_draggable_with_cards.md
playbook_ui_docs-13.30.0.pre.alpha.20240515remotebuildkitconversion3150 app/pb_kits/playbook/pb_draggable/docs/_draggable_with_cards.md
playbook_ui-13.30.0.pre.alpha.20240515remotebuildkitconversion3150 app/pb_kits/playbook/pb_draggable/docs/_draggable_with_cards.md