Update bootstrap

This commit is contained in:
Samuele E. Locatelli
2020-02-18 12:25:58 +01:00
parent 813b310c1f
commit 9d2703a241
113 changed files with 18858 additions and 8472 deletions
+14
View File
@@ -0,0 +1,14 @@
/**
* Given element offsets, generate an output similar to getBoundingClientRect
* @method
* @memberof Popper.Utils
* @argument {Object} offsets
* @returns {Object} ClientRect like output
*/
export default function getClientRect(offsets) {
return {
...offsets,
right: offsets.left + offsets.width,
bottom: offsets.top + offsets.height,
};
}