Options
All
  • Public
  • Public/Protected
  • All
Menu

Version 2.0.0

List of all changes

Introduced new typings system

All public typings of the CustomJS Utils are now globally accessible, import statements are not required anymore.
The typings can be found within the Cbn.CJS namespace.

Usage in JSDoc:

const image = /** @type {Cbn.CJS.HiveImage} */ (CmpUtils.getRecordCmpColValue(CmpNames.Component, RecordCol.Image));

Usage in Type Decleration:

interface DemoITF {
  Image: Cbn.CJS.HiveImage;
  Value: Cbn.CJS.CmpValue;
  Listener: Cbn.CJS.CmpValueChangedListener;
}

This is a breaking change as the typings had to be imported from dedicated utils class in earlier versions of the utils (eg: CmpUtils, CtrlUtils).

Generated using TypeDoc