Help Center

Local Navigation

Object: CSSValueList

Availability

BlackBerry® Device Software version 4.6 or later

Extends

CSSValue

The CSSValueList objects represents an ordered collection of CSSValue objects.

Some properties allow an empty list into their syntax. In that case, these properties take the none identifier. So, an empty list means that the property has the value none.

CSSValueList properties

Property name

Type

Description

Status

Availability

length

int

Returns the number of property values in the list.

read only

4.6 or later

CSSValueList methods

Method name

Description

Availability

item()

Returns the CSSValue object at the specified index in the CSSValueList.

4.6 or later

Method: CSSValueList.item()

Availability

BlackBerry® Device Software version 4.6 or later

The item() method returns the CSSValue object at the specified index in the CSSValueList.

Syntax

CSSValueList.item( index )

Parameters

Parameter

Type

Description

index

int

An integer that represents the CSS property value’s position in rule list. Valid values are 0 to CSSValueList.length-1.

Return values

Returns the property value at the indexth position in CSSValueList, or null if an invalid index position is specified.

Exceptions

None.

Previous topic: CSSValue properties

Was this information helpful? Send us your comments.