virt2/assets/vendor_components/popper/packages/test-utils/utils/getRect.js

4 lines
87 B
JavaScript
Raw Normal View History

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