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

Function setRect

Sortable.js:512–518  ·  view source on GitHub ↗
(el, rect)

Source from the content-addressed store, hash-verified

510 }
511 }
512 function setRect(el, rect) {
513 css(el, 'position', 'absolute');
514 css(el, 'top', rect.top);
515 css(el, 'left', rect.left);
516 css(el, 'width', rect.width);
517 css(el, 'height', rect.height);
518 }
519 function unsetRect(el) {
520 css(el, 'position', '');
521 css(el, 'top', '');

Callers 3

dragStartedFunction · 0.90
dragOverCompletedFunction · 0.90
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…