item of data-attributes

operator

Return type:
Integer
Returns:
The item number of the attribute.
Syntax
item of specified? data-attributes of attribute-reference {string-expression}


Purpose

item of data-attributes can be used to determine the order in which the attribute was declared. When specified, the first declared attribute has item number 1, the second has item number 2, and so on.

When item of is applied to an item on the data-attributes shelf, the {...} (key) indexer is required.

Related Syntax