item method

String? item(
  1. int index
)

The item() method of the DOMTokenList interface returns an item in the list, determined by its position in the list, its index.

Note: This method is equivalent as the bracket notation. So aList.item(i) is the same as aList[i].

Implementation

external String? item(int index);