ng-just-numbers
TypeScript icon, indicating that this package has built-in type declarations

1.0.0 • Public • Published

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>

Package Sidebar

Install

npm i ng-just-numbers

Weekly Downloads

1

Version

1.0.0

License

MIT

Unpacked Size

105 kB

Total Files

26

Last publish

Collaborators

  • richardfazzi