ngx-mat-esi-accordian v0.0.6
NgxMatEsiAccordian
This library was generated with Angular CLI version 11.0.9.
Code scaffolding
Run ng generate component component-name --project NgxMatEsiAccordian
to generate a new component. You can also use ng generate directive|pipe|service|class|guard|interface|enum|module --project NgxMatEsiAccordian
.
Note: Don't forget to add
--project NgxMatEsiAccordian
or else it will be added to the default project in yourangular.json
file.
Build
Run ng build NgxMatEsiAccordian
to build the project. The build artifacts will be stored in the dist/
directory.
Publishing
After building your library with ng build NgxMatEsiAccordian
, go to the dist folder cd dist/ngx-mat-esi-accordian
and run npm publish
.
Pre-requisite
install angular material ng add @angular/material
install chart js and ng2-charts npm install chart.js@2.9.3 --save npm install ng2-charts
add script to index.html
<script src="node_modules/chart.js/src/chart.js"></script>
Running unit tests
Run ng test NgxMatEsiAccordian
to execute the unit tests via Karma.
Data Model
export interface DataStoreDTO { Accordian: string | number; Components: AccordianDTO[] }
export interface AccordianDTO { Component: string Table: any[] }
export interface configDTO { checkbox: boolean pagination: boolean table: boolean form: boolean graph: boolean }
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.