CommonTypes
- Version:
- Since:
- Module:
Module usage
See JET Module Loading for an overview of module usage within JET.
Typescript Import Format
//This namespace exports multiple static methods or members. To import
import * as CommonTypes from "ojs/ojcommontypes";
//Now you can access the methods as CommonTypes.methodName and so on
JET In Typescript
A detailed description of working with JET elements and classes in your typescript project can be found at:
JET Typescript Usage.
Type Definitions
-
ItemContext<K,D>
-
Properties:
| Name |
Type |
Argument |
Description |
key |
K
|
|
the key of the item
|
data |
D
|
|
the data of the item
|
metadata |
ItemMetadata.<K>
|
<optional>
|
an object containing the metadata of the item
|