1.0.5 • Published 2 years ago
dynamic-form-angular v1.0.5
Dynamic Form Builder in Angular
This library was generated with Angular CLI version 13.3.0.
Installation
npm install dynamic-form-angular --save
Example usage
Add the DynamicFormsModule to the imports of the module which will be using the Dynamic form builder.
import { NgModule } from '@angular/core';
import { DynamicFormsModule } from 'dynamic-form-angular';
@NgModule({
imports: [
...
DynamicFormsModule.forRoot({
apiUrl:''
}),
],
declarations: [
...
],
exports: [
...
],
providers: [
...
]
})
export class YourModule {
}
Add the element to your HTML:
<div class="container container-demo">
<app-dynamic-forms></app-dynamic-forms>
</div>
Build
Run ng build dynamic-form-angular
to build the project. The build artifacts will be stored in the dist/
directory.
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.