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 CssStyleDeclaration.css(allCss);
}