Initial commit
This commit is contained in:
1
wwwroot/lib/popper.js/esm/dom-utils/getLayoutRect.min.js
vendored
Normal file
1
wwwroot/lib/popper.js/esm/dom-utils/getLayoutRect.min.js
vendored
Normal file
@@ -0,0 +1 @@
|
||||
import getBoundingClientRect from"./getBoundingClientRect.js";export default function getLayoutRect(t){var e=getBoundingClientRect(t),i=t.offsetWidth,h=t.offsetHeight;return Math.abs(e.width-i)<=1&&(i=e.width),Math.abs(e.height-h)<=1&&(h=e.height),{x:t.offsetLeft,y:t.offsetTop,width:i,height:h}}
|
||||
Reference in New Issue
Block a user