Class

TextControlContext

TextControlContext()

Constructor

# new TextControlContext()

View Source TextControlContext.js, line 6

Methods

# destroy()

removes the TXTextControl instance from the DOM. resets the internal isTextControlLoaded property to false.

View Source TextControlContext.js, line 50

# async initialize(componentSettings) → {Promise.<void>}

Loads resource files and initializes the document editor after TXTextControl is available.
Parameters:
Name Type Description
componentSettings TXTextControlTypeDefinition.ComponentSettings

View Source TextControlContext.js, line 21

Promise.<void>

# async untilTextControlLoaded() → {Promise.<void>}

Waits until TXTextControl has finished loading.

View Source TextControlContext.js, line 61

Promise.<void>