getElementPreComputedStyle function

CSSStyleDeclaration getElementPreComputedStyle(
  1. Element element
)

Returns a CSSStyleDeclaration of the pre-computed CSS properties of element.

Implementation

CSSStyleDeclaration getElementPreComputedStyle(Element element) {
  var list = getElementAllCssProperties(element);
  var allCss = list.join('; ');
  return newCSSStyleDeclaration(cssText: allCss);
}