MCPcopy Index your code
hub / github.com/SortableJS/Sortable / setRect

Function setRect

modular/sortable.complete.esm.js:506–512  ·  view source on GitHub ↗
(el, rect)

Source from the content-addressed store, hash-verified

504 }
505}
506function setRect(el, rect) {
507 css(el, 'position', 'absolute');
508 css(el, 'top', rect.top);
509 css(el, 'left', rect.left);
510 css(el, 'width', rect.width);
511 css(el, 'height', rect.height);
512}
513function unsetRect(el) {
514 css(el, 'position', '');
515 css(el, 'top', '');

Callers 1

MultiDragPluginFunction · 0.70

Calls 1

cssFunction · 0.70

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…