@opentext/forms-data-manager
v24.4.1
Published
Provides UI runtime data management for OpenText™ Forms API
Downloads
128
Readme
forms-data-manager
UI runtime data manager for OpenText™ Forms API
Contents
Install
Run:
npm install @opentext/forms-data-manager
Usage
import { ItemManager } from '@opentext/forms-data-manager';
// create new item manager object, for example:
const itemManager = new ItemManager(promiseQueue, dataSource, target, clientAPI);
Client API format
The Client API should be in this format:
clientAPI = {
postMessage: (data: object, targetOrigin?: any) => void;
setState: (model: string) => void;
getState: () => {};
}