big-moving.ru/assets/vendor_components/popper/packages/test-utils/utils/getRect.js

4 lines
87 B
JavaScript
Executable File

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