ngx-neops-app-components 1.8.0
Install from the command line:
Learn more about npm packages
$ npm install @zebbra/ngx-neops-app-components@1.8.0
Install via package.json:
"@zebbra/ngx-neops-app-components": "1.8.0"
About this version
This library was generated with Angular CLI version 13.1.0.
Run ng generate component component-name --project ngx-neops-app-components
to generate a new component. You can also
use ng generate directive|pipe|service|class|guard|interface|enum|module --project ngx-neops-app-components
.
Note: Don't forget to add
--project ngx-neops-app-components
or else it will be added to the default project in yourangular.json
file.
Run ng build ngx-neops-app-components
to build the project. The build artifacts will be stored in the dist/
directory.
After building your library with ng build ngx-neops-app-components
, go to the dist
folder cd dist/ngx-neops-app-components
and run npm publish
.
Run ng test ngx-neops-app-components
to execute the unit tests via Karma.
To get more help on the Angular CLI use ng help
or go check out
the Angular CLI Overview and Command Reference page.
For the official and complete library documentation refer to: jsonforms.io documentation
This is an overview of the types that are currently supported by the library and how to use them.
"example":{"type":"boolean"}
- Defaults to a checkbox.
- Use
"options":{"toggle":true}
in the UiSchema to render a toggle.
"example":{"type":"integer"}
- Renders an integer input field.
"example":{"type":"number"}
- Defaults to a number input field.
- Use
"options":{"slider":true}
in the UiSchema to render a slider. In the JsonSchema you can define min., max and default values.{"type":"number","minimum":1,"maximum":5,"default":2}
jsonforms.io example
"example":{"type":"string"}
- Defaults to a string input field.
- Use date, time, date-time, email, jinja2 or json as the format in the JsonSchema to render corresponding input fields,
eg.
date: {type: 'string',format: 'date'}
- Use
example: {type: 'string',enum:['One','Two','Three']}
to render a searchable dropdown populated with One, Two and Three.
Details
- ngx-neops-app-components
- zebbra
- 7 days ago
- 28 dependencies
Assets
- ngx-neops-app-components-1.8.0.tgz
Download activity
- Total downloads 2
- Last 30 days 2
- Last week 0
- Today 0