@sinc-gmbh/textcontrol-promises
v1.1.1
Published
Wraps TXTextControl Callback API to work with Objects and Promises.
Downloads
6
Readme
textcontrol-promises
Build up on TXTextControl v31.3.0. (not fully supported yet).
Description
Wraps TXTextControl Callback API to work with Objects and Promises.
It also includes typescript definitions for its classes. Therefore it can easy be used in typescript projects.
Installation
yarn install @sinc-gmbh/textcontrol-promises
Usage
- Create a TextControlContext to work with wrapped objects
let txContext = new TextControlContext(); ...
- Wrapped collections are supporting async iterators
for await (let field of this.txContext.applicationFields) { ... }
- Wrap a native TextControl object by passing it to constructor
let table = new Table(txTableObject);
License
Copyright (c) 2023 SINC GmbH. All rights reserved.
Licensed under the MIT license.