CSSValue class

CSSValue class

Represents a simple or a complex value. A CSSValue object only occurs in a context of a CSS property.

Inheritance: CSSValueDOMObject

The CSSValue type exposes the following members:

Properties

PropertyDescription
css_textA string representation of the current value.
css_value_typeA code defining the type of the value.
CSS_INHERITThe value is inherited and the cssText contains “inherit”.
CSS_PRIMITIVE_VALUEThe value is a primitive value and an instance of the CSSPrimitiveValue interface can be obtained by using binding-specific casting methods on this instance of the CSSValue interface.
CSS_VALUE_LISTThe value is a CSSValue list and an instance of the CSSValueList interface can be obtained by using binding-specific casting methods on this instance of the CSSValue interface.
CSS_CUSTOMThe value is a custom value.

Methods

MethodDescription
get_platform_typeThis method is used to retrieve ECMAScript object Type.

See Also