UNPKG

@atlaskit/pragmatic-drag-and-drop-react-beautiful-dnd-migration

Version:

An optional Pragmatic drag and drop package that enables rapid migration from react-beautiful-dnd to Pragmatic drag and drop

13 lines 408 B
import { attributes, customAttributes } from './attributes'; import { findElementAll } from './find-element'; export function findAllDraggables(_ref) { var droppableId = _ref.droppableId, contextId = _ref.contextId; return findElementAll({ attribute: attributes.draggable.contextId, value: contextId }, { attribute: customAttributes.draggable.droppableId, value: droppableId }); }