Method: CSSStyleDeclaration.item()

Availability

BlackBerry Device Software version 4.6 or later

The item() method returns the name of the CSS property at the specified index in the collection.

Syntax

CSSStyleDeclaration.item( index )

Parameters

Parameter

Type

Description

index

int

An integer that represents the CSS property’s position in style declaration block.

Return values

Returns the name of the CSS property at the indexth position in CSSStyleDeclaration, or an empty string if no property exists at the index position specified.

Exceptions

None.


Was this information helpful? Send us your comments.