Name

CSSValueList.item( ) — get the CSSValue at the specified position

Availability

DOM Level 2 CSS

Synopsis

CSSValue item(unsigned long index);

Arguments

index

The position of the desired CSSValue.

Returns

The CSSValue object at the specified position in this CSSValueList, or null if index is negative or is greater than or equal to length.

Get JavaScript: The Definitive Guide, Fourth Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.