item method

String item(
  1. int index
)

The CSSStyleDeclaration.item() method interface returns a CSS property name from a CSSStyleDeclaration by index.

This method doesn't throw exceptions as long as you provide arguments; the empty string is returned if the index is out of range and a TypeError is thrown if no argument is provided.

Implementation

external String item(int index);