Class

EditableRegionCollection

EditableRegionCollection(txEditableRegionCollection)

Constructor

# new EditableRegionCollection(txEditableRegionCollection)

Wrapper für TXTextControl.EditableRegionCollection
Parameters:
Name Type Description
txEditableRegionCollection any

View Source EditableRegionCollection.js, line 8

Extends

Classes

EditableRegionCollection

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

View Source EditableRegionCollection.js, line 49

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>

View Source EditableRegionCollection.js, line 33

Promise.<boolean>