ng-numbers-only-input-directive
v0.0.4
Published
A package directive for block letters for only number input
Downloads
15
Maintainers
Readme
Ng Numbers Only Input Directive
Getting Started
Use this package in your Angular Application if you want to write only numbers in your input.
Installation instructions
Install ng-numbers-only-input-directive
from npm:
npm i ng-numbers-only-input-directive --save
Add package to NgModule imports:
NgNumbersOnlyInputDirectiveModule
Add in HTML as attribute numbersOnly
:
<input type="text" formControlName="controlName" numbersOnly>