@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
19 lines (18 loc) • 549 B
JavaScript
;
Object.defineProperty(exports, "__esModule", {
value: true
});
exports.findAllDraggables = findAllDraggables;
var _attributes = require("./attributes");
var _findElement = require("./find-element");
function findAllDraggables(_ref) {
var droppableId = _ref.droppableId,
contextId = _ref.contextId;
return (0, _findElement.findElementAll)({
attribute: _attributes.attributes.draggable.contextId,
value: contextId
}, {
attribute: _attributes.customAttributes.draggable.droppableId,
value: droppableId
});
}