ungleich-staticcms/assets/u/static/popper.js-1.16.0/packages/test-utils/utils/getRect.js

4 lines
87 B
JavaScript
Raw Normal View History

export default function getRect(element) {
return element.getBoundingClientRect();
}