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

Function repaint

Sortable.js:675–677  ·  view source on GitHub ↗
(target)

Source from the content-addressed store, hash-verified

673 };
674 }
675 function repaint(target) {
676 return target.offsetWidth;
677 }
678 function calculateRealTime(animatingRect, fromRect, toRect, options) {
679 return Math.sqrt(Math.pow(fromRect.top - animatingRect.top, 2) + Math.pow(fromRect.left - animatingRect.left, 2)) / Math.sqrt(Math.pow(fromRect.top - toRect.top, 2) + Math.pow(fromRect.left - toRect.left, 2)) * options.animation;
680 }

Callers 1

AnimationStateManagerFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…