Class

ObjectBase

ObjectBase(txObj)

Base class for all TX TextControl wrapper objects. Stores the underlying TX API object and provides binding utilities.
Constructor

# new ObjectBase(txObj)

Parameters:
Name Type Description
txObj any

View Source ObjectBase.js, line 5

Classes

ObjectBase

Members

Methods

# protected _bindMethods(…names)

Binds the named TX API methods to their owner object.
Parameters:
Name Type Attributes Description
names string <repeatable>

View Source ObjectBase.js, line 25

# protected _cached(key, factory) → {Promise.<T>}

Returns a cached Promise for a given key, creating it on first access. Stores the Promise itself so concurrent callers share one in-flight request.
Parameters:
Name Type Description
key string
factory function

View Source ObjectBase.js, line 43

Promise.<T>

# protected _invalidateCache(keyopt)

Drops one cached entry (or all entries when called without a key).
Parameters:
Name Type Attributes Description
key string <optional>

View Source ObjectBase.js, line 53