Class

SubTextPartCollection

SubTextPartCollection(txSubTextPartCollection)

Constructor

# new SubTextPartCollection(txSubTextPartCollection)

Wrapper für TXTextControl.SubTextPartCollection
Parameters:
Name Type Description
txSubTextPartCollection any

View Source SubTextPartCollection.js, line 8

Extends

Classes

SubTextPartCollection

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

View Source SubTextPartCollection.js, line 34

Promise.<{response, addResult}>

# async getItem() → {Promise.<SubTextPart>}

Gets the SubTextPart at the current text input position

View Source SubTextPartCollection.js, line 45

Promise.<SubTextPart>