CSSValueList class

CSSValueList class

The CSSValueList interface provides the abstraction of an ordered collection of CSS values.

Inheritance: CSSValueListCSSValueDOMObject

The CSSValueList type exposes the following members:

Constructors

ConstructorDescription
initInitializes a new instance of the CSSValueList class.
initConstructs a new instance of CSSValueList
initInitializes a new instance of the CSSValueList class.

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.
lengthThe number of CSSValues in the list.

Gets the CSSValue at the specified index.

Indexer

NameDescription
[index]The index.

Methods

MethodDescription
get_platform_typeThis method is used to retrieve ECMAScript object Type.

See Also