Skip to content
ngx-neops-app-components / 1.5.15-beta.1

ngx-neops-app-components 1.5.15-beta.1

Install from the command line:
Learn more about npm packages
$ npm install @zebbra/ngx-neops-app-components@1.5.15-beta.1
Install via package.json:
"@zebbra/ngx-neops-app-components": "1.5.15-beta.1"

About this version

NgxNeopsAppComponents

This library was generated with Angular CLI version 13.1.0.

Code scaffolding

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 your angular.json file.

Build

Run ng build ngx-neops-app-components to build the project. The build artifacts will be stored in the dist/ directory.

Publishing

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.

Running unit tests

Run ng test ngx-neops-app-components to execute the unit tests via Karma.

Further help

To get more help on the Angular CLI use ng help or go check out the Angular CLI Overview and Command Reference page.

JsonForms Documentation

UiSchema, Layouts and Rules:

For the official and complete library documentation refer to: jsonforms.io documentation

Types:

This is an overview of the types that are currently supported by the library and how to use them.

Boolean

"example":{"type":"boolean"}

  • Defaults to a checkbox.
  • Use "options":{"toggle":true} in the UiSchema to render a toggle.

Integer

"example":{"type":"integer"}

  • Renders an integer input field.

Number

"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

String

"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


Assets

  • ngx-neops-app-components-1.5.15-beta.1.tgz

Download activity

  • Total downloads 0
  • Last 30 days 0
  • Last week 0
  • Today 0