0.0.1 • Published 6 years ago
user-difined-fileds v0.0.1
INSTALL: |
---|
npm i @9hub/udf-component --save
You need to import the following dependencies: |
---|
npm install --save @angular/material @angular/cdk @angular/animations
ng add @angular/material
It is very important that you copy the following code in your main styles.css file: |
---|
@import "~@angular/material/prebuilt-themes/deeppurple-amber.css"
API: |
---|
For your use you need to import the library in the following way
import { UdfModule } from '@9hub/udf-component'
For its use you need to paste the tag, in udf Data you receive the array of the interface definition, in udfFormGroup you receive a FormGroup object
<udf-md [udfData]="input-array-definition-interface" [udfFormGroup]="object-FormGrup" > </udf-md>
0.0.1
6 years ago