Help Center

Local Navigation

Object: CSSRuleList

Availability

BlackBerry® Device Software version 4.6 or later

The CSSRuleList object represents an ordered collection of CSSRule objects.

CSSRuleList properties

Property name

Type

Description

Status

Support level

Availability

length

int

Returns the number of rules in the list.

read only

DOM 2 Style

4.6 or later

CSSRuleList methods

Method name

Description

Support level

Availability

item()

Returns the rule at the specified index in the collection.

DOM 2 Style

4.6 or later

Next topic: Object: CSSRule
Previous topic: CSSPrimitiveValue methods

Was this information helpful? Send us your comments.