Update NuGet packages x timbratrice (bootstrap)

This commit is contained in:
Samuele E. Locatelli
2020-01-28 12:47:53 +01:00
parent c4c9a7da17
commit d1d60570fb
127 changed files with 30720 additions and 3264 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;
}