Nuget Update Bootstrap

This commit is contained in:
Samuele E. Locatelli
2019-12-12 16:10:31 +01:00
parent 995c7c01df
commit 46eb99acd6
113 changed files with 5507 additions and 1255 deletions
@@ -0,0 +1,16 @@
/**
* Get CSS computed property of the given element
* @method
* @memberof Popper.Utils
* @argument {Eement} element
* @argument {String} property
*/
export default function getStyleComputedProperty(element, property) {
if (element.nodeType !== 1) {
return [];
}
// NOTE: 1 DOM access here
const window = element.ownerDocument.defaultView;
const css = window.getComputedStyle(element, null);
return property ? css[property] : css;
}