ng-numbers-only-input-directive
TypeScript icon, indicating that this package has built-in type declarations

0.0.4 • Public • Published

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>

Package Sidebar

Install

npm i ng-numbers-only-input-directive

Weekly Downloads

1

Version

0.0.4

License

MIT

Unpacked Size

28.6 kB

Total Files

19

Last publish

Collaborators

  • mushzak