1.0.0 • Published 6 years ago

ng-just-numbers v1.0.0

Weekly downloads
3
License
MIT
Repository
github
Last release
6 years ago

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>