1.0.0 • Published 7 years ago
ng-just-numbers v1.0.0
Installation
run npm install ng-just-numbers
import import { NgJustNumbersModule } from 'ng-just-numbers'; on your module
add NgJustNumbersModule to your imports.
You are free to go!
Using
using jnWithDots or jnWithDots="true" allow you to have numbers and dots (many)
using jnWithDots="false" just allow you to have numbers
using jnWithOneDot directive allow you to have numbers + 0 to 1 DOT.
Example
<input type="text" jnWithDots>
<input type="text" jnWithDots="false">
<input type="text" jnWithOneDot>1.0.0
7 years ago