ZVON > References > DOM2 Reference

getPropertyCSSValue (method )

Owning interface and usage:  
CSSStyleDeclaration.getPropertyCSSValue(propertyName)

Member of these other interfaces:  
none

Description:  
Used to retrieve the object representation of the value of a CSS property if it has been explicitly set within this declaration block. This method returns null if the property is a shorthand property. Shorthand property values can only be accessed and modified as strings, using the getPropertyValue() and setProperty() methods.

Parameters:  
DOMString propertyName  -  The name of the CSS property. See the CSS property index.

Returns:  
CSSValue -  Returns the value of the property if it has been explicitly set for this declaration block. Returns null if the property has not been set.

Exceptions:  
none