Methods
# destroy()
removes the TXTextControl instance from the DOM.
resets the internal isTextControlLoaded property to false.
# async initialize(componentSettings) → {Promise.<void>}
Loads resource files and initializes the document editor after TXTextControl is available.
Parameters:
| Name | Type | Description |
|---|---|---|
componentSettings |
TXTextControlTypeDefinition.ComponentSettings
|
Promise.<void>
# async untilTextControlLoaded() → {Promise.<void>}
Waits until TXTextControl has finished loading.
Promise.<void>