heinerwalter / ngx-property-editor

An Angular library containing simple input components and a property editor component which automatically builds a form for editing all properties of any object.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

ngx-property-editor

build npm version

This is an Angular library containing simple input components for different data types (styled with bootstrap). Based on the input components this library provides a property editor component which automatically builds a form for editing all properties of any object passed to the property editor component. The property editor input fields can be configured by passing an additional configuration object to the property editor component.

Demo

Beside the library project this repository contains a demo application project which demonstrates all library features. Open demo page.

Installation

Add this library to your Angular CLI project by running the following command:

ng add ngx-property-editor

It will install ngx-property-editor for the default application specified in your angular.json. If you have multiple projects, and you want to target a specific project, you could specify the --project option:

ng add ngx-property-editor --project myProject

See more details on the installation process in the README.md file inside the ngx-property-editor library subdirectory. There you will find information on how to install the bootstrap styles on which this library depends.

Build

For instructions on how to build the library and the demo application see teh README_BUILD_AND_PUBLISH.md file.

About

An Angular library containing simple input components and a property editor component which automatically builds a form for editing all properties of any object.

License:MIT License


Languages

Language:TypeScript 82.0%Language:HTML 13.8%Language:SCSS 3.1%Language:JavaScript 1.0%