// Position of the element with this id within the collection
eles.indexOfId(id: string): numberPosition of the element with this id within the collection.
| Name | Description |
|---|---|
id: string | the element id |
Returns
numberthe index, or -1 when absent