Constructor
# new SubTextPartCollection(txSubTextPartCollection)
Wrapper für TXTextControl.SubTextPartCollection
Parameters:
| Name | Type | Description |
|---|---|---|
txSubTextPartCollection |
any
|
Extends
Classes
Methods
# async add(name, id, start, length) → {Promise.<{response, addResult}>}
Adds a new SubTextPart to the collection
Parameters:
| Name | Type | Description |
|---|---|---|
name |
string
|
|
id |
number
|
|
start |
number
|
|
length |
number
|
Promise.<{response, addResult}>
# async getItem() → {Promise.<SubTextPart>}
Gets the SubTextPart at the current text input position
Promise.<SubTextPart>