ng-mat-forms

Highly configurable Angular Dynamic Form Generator With Angular Material. Compatible Angular2+.

Usage no npm install needed!

<script type="module">
  import ngMatForms from 'https://cdn.skypack.dev/ng-mat-forms';
</script>

README

ng-mat-forms

Build Status npm npm

Description

Highly configurable Angular Dynamic Form Generator With Angular Material. Compatible Angular2+.

Installation

To install this component to an external project, follow the procedure:

  1. npm install ng-mat-forms --save
  2. Add NgMatFormsModule import to your @NgModule like example below
import { NgModule } from '@angular/core';
import { BrowserModule } from '@angular/platform-browser';
import { BrowserAnimationsModule } from '@angular/platform-browser/animations';
import { MyTestApp } from './my-test-app';
import { NgMatFormsModule } from 'ng-mat-forms';

@NgModule({
    imports:      [ BrowserModule, BrowserAnimationsModule, NgMatFormsModule ],
    declarations: [ MyTestApp ],
    bootstrap:    [ MyTestApp ]
})
export class MyTestAppModule {}
  1. If you are using systemjs package loader add the following ng-mat-forms properties to the System.config:
(function (global) {
    System.config({
        paths: {
            'npm:': 'node_modules/'
        },
        map: {
            // Other components are here...

            'ng-mat-forms': 'npm:ng-mat-forms/bundles/ng-mat-forms.umd.min.js'
        },
        packages: {
        }
    });
})(this);   

Usage

https://msk-satheesh-5599.gitbook.io/ng-mat-forms/

Author

  • Author: msk

License

The MIT License