@bmat/angular-inputmask
v1.0.0
Published
Angular Module with common BMAT components
Downloads
5
Readme
Readme
This is a an Angular library that wraps InputMask. The library uses lifehooks and ControlValueAccessors to integrate the masking cycle in the app
Installation
From the source folder, run
npm install
Testing
Once installed, run
npm run test
Inside the coverage folder, you can find both a HTML and a JSON coverage report.
Linting
Both Typescript and SASS files can be linted. For Typescript, run Once installed, run
npm run lint
For SASS, run
npm run lint:sass
Building
You can build the app using
npm run build
This will compile SASS styles, embedd templates and styles inside Angular components and output to lib folder.
Inside package.json, you can find the subtasks of build.
Provided classes
Components
| Module | Component/Directive | Status | | --- | --- | --- | --- | | Calendar | DatePicker | To be started |
Directives
| Module | Component | Status | | --- | --- | --- | --- | | Forms | InputMask | In progress | | Forms | InputMaskTime | In progress |
DemoApp
This package includes a demo page. Run
npm run start
and open http://localhost:4200