1.1.1 • Published 8 months ago

@sinc-gmbh/textcontrol-promises v1.1.1

Weekly downloads
-
License
MIT
Repository
-
Last release
8 months ago

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.

1.1.1

8 months ago

1.1.0

8 months ago

1.0.1

10 months ago

1.0.0

10 months ago