Constructor
# new Collection(txCollection, wrapItem)
Wrapper für TXTextControl.Collection
Parameters:
Name | Type | Description |
---|---|---|
txCollection |
any
|
|
wrapItem |
function
|
Classes
Members
Methods
# async elementAt(index) → {Promise.<T>}
Returns the element at a specified index in the collection
Parameters:
Name | Type | Description |
---|---|---|
index |
number
|
Promise.<T>
# async forEach(forEachCallback) → {Promise.<void>}
Executes a callback function for each element
Parameters:
Name | Type | Description |
---|---|---|
forEachCallback |
function
|
- Deprecated:
- may use "for await" instead forEachCallback
Promise.<void>
# async getCount() → {Promise.<number>}
Gets the number of elements contained in the collection
Promise.<number>
# async generator reverse() → {AsyncGenerator.<Awaited.<T>, void, unknown>}
iterates the collection in reverse
use in for await
AsyncGenerator.<Awaited.<T>, void, unknown>