@lynx-js/type-element-api
v0.0.3
Published
Type definitions for all Element PAPI provided by the Lynx team, used to improve Element PAPI support in your framework.
Readme
Introduction
@lynx-js/type-element-api is a type package of all Element API officially provided by the Lynx team. Using this package can help you better use Element API to develop your framework.
Usage
For Framework Developers
"peerDependencies": {
"@lynx-js/type-element-api": "latest"
}For Product Developers
"devDependencies": {
"@lynx-js/type-element-api": "latest"
}After installing the dependencies, you can use them directly, for example:
let pid = 10;
let viewRef = __CreateView(10);