Nu har vi lagt till ett web-projekt ASP MVC

This commit is contained in:
2020-04-23 23:21:32 +02:00
parent ffa3652cc8
commit d930e505b6
166 changed files with 10783 additions and 42363 deletions

View File

@ -1,16 +0,0 @@
/**
* 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;
}