getComputedStyle method
Returns the current computed value of the combined CSS properties for an element.
![]() ![]() |
Syntax
var retVal = SVGSVGElement.getComputedStyle(elt, pseudoElt);Parameters
- elt [in]
-
Type: Element
- pseudoElt [in, optional]
-
Type: DOMString
- retVal [out, retval]
-
Type: CSSStyleDeclaration
Standards information
- Document Object Model (DOM) Level 2 Style Specification, Section 2.2.1
See also
Show:

