Expand Minimize

getComputedStyle method

Returns the current computed value of the combined CSS properties for an element.

Document Object Model (DOM) Level 2 Style Specification, Section 2.2.1Internet Explorer 10

Syntax

var retVal = SVGSVGElement.getComputedStyle(elt, pseudoElt);

Parameters

elt [in]

Type: Element

pseudoElt [in, optional]

Type: DOMString

retVal [out, retval]

Type: CSSStyleDeclaration

Standards information

See also

SVGSVGElement

 

 

Show:
© 2014 Microsoft