Returns the element at a specified index in the collection.
<void> Collection.elementAt(<number> index, <RequestObjectCallback> callback, [<ErrorCallback> errorCallback])
Parameter | Description |
---|---|
index | The zero-based index of the element to retrieve. |
callback | Receives the element as a parameter. |
error |
Optional. Is called when the operation failed with an error. |