Sha256: b8b207895933c7e7556910d6502eeb4e0b3238daa6fd391762eabba6b0369f58

Contents?: true

Size: 524 Bytes

Versions: 44

Compression:

Stored size: 524 Bytes

Contents

For a simplified version of the Draggable API for the Card kit, you can do the following:

Use the `draggable` kit and manage state as shown.

`draggable/draggable_container` kit creates the container within which the cards can be dragged and dropped.

The Card kit is optimized to work with the draggable kit. To enable drag, use the `draggable_item` and `drag_id` props on the Card kit as shown. An additional optional boolean prop (set to true by default) of `drag_handle` is also available to show the drag handle icon.

Version data entries

44 entries across 44 versions & 2 rubygems

Version Path
playbook_ui_docs-14.13.0.pre.rc.5 app/pb_kits/playbook/pb_draggable/docs/_draggable_with_cards_rails.md
playbook_ui-14.13.0.pre.rc.5 app/pb_kits/playbook/pb_draggable/docs/_draggable_with_cards_rails.md
playbook_ui_docs-14.12.0.pre.alpha.PLAY1602lightboxoverlapnitrobug5781 app/pb_kits/playbook/pb_draggable/docs/_draggable_with_cards_rails.md
playbook_ui-14.12.0.pre.alpha.PLAY1602lightboxoverlapnitrobug5781 app/pb_kits/playbook/pb_draggable/docs/_draggable_with_cards_rails.md
playbook_ui_docs-14.13.0.pre.rc.4 app/pb_kits/playbook/pb_draggable/docs/_draggable_with_cards_rails.md
playbook_ui-14.13.0.pre.rc.4 app/pb_kits/playbook/pb_draggable/docs/_draggable_with_cards_rails.md
playbook_ui_docs-14.12.0.pre.alpha.playrailsinputmaskissue5775 app/pb_kits/playbook/pb_draggable/docs/_draggable_with_cards_rails.md
playbook_ui-14.12.0.pre.alpha.playrailsinputmaskissue5775 app/pb_kits/playbook/pb_draggable/docs/_draggable_with_cards_rails.md
playbook_ui_docs-14.12.0.pre.alpha.PBNTR456fixedconftoastrailsautoclose5757 app/pb_kits/playbook/pb_draggable/docs/_draggable_with_cards_rails.md
playbook_ui-14.12.0.pre.alpha.PBNTR456fixedconftoastrailsautoclose5757 app/pb_kits/playbook/pb_draggable/docs/_draggable_with_cards_rails.md
playbook_ui_docs-14.12.0.pre.alpha.PBNTR456fixedconftoastrailsautoclose5754 app/pb_kits/playbook/pb_draggable/docs/_draggable_with_cards_rails.md
playbook_ui-14.12.0.pre.alpha.PBNTR456fixedconftoastrailsautoclose5754 app/pb_kits/playbook/pb_draggable/docs/_draggable_with_cards_rails.md
playbook_ui_docs-14.12.0.pre.alpha.PLAY1602lightboxoverlapnitrobugzindextoken5751 app/pb_kits/playbook/pb_draggable/docs/_draggable_with_cards_rails.md
playbook_ui-14.12.0.pre.alpha.PLAY1602lightboxoverlapnitrobugzindextoken5751 app/pb_kits/playbook/pb_draggable/docs/_draggable_with_cards_rails.md
playbook_ui_docs-14.12.0.pre.alpha.PBNTR456fixedconftoastrailsautoclose5738 app/pb_kits/playbook/pb_draggable/docs/_draggable_with_cards_rails.md
playbook_ui-14.12.0.pre.alpha.PBNTR456fixedconftoastrailsautoclose5738 app/pb_kits/playbook/pb_draggable/docs/_draggable_with_cards_rails.md
playbook_ui_docs-14.13.0.pre.rc.3 app/pb_kits/playbook/pb_draggable/docs/_draggable_with_cards_rails.md
playbook_ui-14.13.0.pre.rc.3 app/pb_kits/playbook/pb_draggable/docs/_draggable_with_cards_rails.md
playbook_ui_docs-14.12.0.pre.alpha.PLAY1865reactdatepickerreinitializingbug5732 app/pb_kits/playbook/pb_draggable/docs/_draggable_with_cards_rails.md
playbook_ui-14.12.0.pre.alpha.PLAY1865reactdatepickerreinitializingbug5732 app/pb_kits/playbook/pb_draggable/docs/_draggable_with_cards_rails.md