ngx-material-tools
TypeScript icon, indicating that this package has built-in type declarations

14.0.2 • Public • Published

NgxMaterialToolsDemo

Updated to Angular 14

This is a set of custom directives lib for Angular Materials.

For now it contains only matInputCommified directive to be used with standard material matInput.

How to use

Install

npm i ngx-material-tools

Import module

...
import {NgxMaterialToolsModule} from 'ngx-material-tools';

@NgModule({
...
  imports: [
...
    NgxMaterialToolsModule
  ],
...
})
export class AppModule { }

Use directive together with matInput in Angular Reactive Forms

  <form [formGroup]="myForm" style="margin-top: 20px">
    <mat-form-field appearance="outline">
      <mat-label>Deposit Amount</mat-label>
      <input matInput
             matInputCommified
             formControlName="deposit"
             type="text"/>
    </mat-form-field>
  </form>
>

Start demo project

Clone this repo and do install

npm install

ng serve

demo app Stackblitz

Did you Like this lib? Follow me on Twitter for more Angular and RxJS staff!

Need a mentorship for Angular and RxJS? Find me on codementor.io

Take a look at my video-course on Udemy/PacktPub:

Check my Youtube video-blog "Angular can waste your time!"

*This project was generated with Angular CLI version 8.3.14.

Package Sidebar

Install

npm i ngx-material-tools

Weekly Downloads

1,047

Version

14.0.2

License

MIT

Unpacked Size

112 kB

Total Files

22

Last publish

Collaborators

  • kievsash