File explorer and opener menu plugin for CoMPAS Open SCD (next)
Name | Module | Package |
---|---|---|
LitElement |
lit-element |
Name | Privacy | Type | Default | Description | Inherited From |
---|---|---|---|---|---|
allowLocalFile |
boolean |
true | If true, the user can select a local file to open. | ||
selectedType |
string |
The selected SCL type.. | |||
sclTypes |
Element[] |
The list of SCL types. | |||
items |
Element[] |
The list of SCL documents. | |||
labels |
string[] |
The list of available labels. | |||
selectedLabels |
string[] |
The list of selected labels. | |||
locale |
string |
The locale to use for translations. |
Name | Privacy | Description | Parameters | Return | Inherited From |
---|---|---|---|---|---|
run |
Run method to start the plugin. | Promise |
Kind | Name | Declaration | Module | Package |
---|---|---|---|---|
js |
default |
CompasOpenElement | src/compas-open-plugin.ts |
To scan the project for linting and formatting errors, run
npm run lint
To automatically fix linting and formatting errors, run
npm run format
To execute a single test run:
npm run test
To run the tests in interactive watch mode run:
npm run test:watch
To run a local instance of Storybook for your plugin, run
npm run storybook
To build a production version of Storybook, run
npm run storybook:build
npm start
To run a local development server that serves the basic demo located in demo/index.html
© 2023 Alliander N.V.