Constructor
# new EditableRegionCollection(txEditableRegionCollection)
Wrapper für TXTextControl.EditableRegionCollection
Parameters:
Name | Type | Description |
---|---|---|
txEditableRegionCollection |
any
|
Extends
Classes
Methods
# async add(username, id, start, length) → {Promise.<{response, addResult}>}
Adds a new editable region to the document
Parameters:
Name | Type | Description |
---|---|---|
username |
string
|
|
id |
number
|
|
start |
number
|
|
length |
number
|
Promise.<{response, addResult}>
# async remove(editableRegion, selectedPartopt) → {Promise.<boolean>}
Removes an editable region from the collection
Parameters:
Name | Type | Attributes | Description |
---|---|---|---|
editableRegion |
EditableRegion
|
||
selectedPart |
boolean
|
<optional> |
Promise.<boolean>