6.0.0 • Published 6 years ago

ngx-numeric-textbox v6.0.0

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

ngx-numeric-textbox

An Angular numeric textbox component

Dependencies

You can customize CSS yourself to break down dependencies to Bootstrap.

Demo

https://leovo2708.github.io/ngx-numeric-textbox/

Installation

After install the above dependencies, install ngx-numeric-textbox via:

npm install ngx-numeric-textbox --save

Once installed you need to import our main module in your application module:

import { NumericTextboxModule } from 'ngx-numeric-textbox';

@NgModule({
  declarations: [
    AppComponent,
    ...
  ],
  imports: [
    FormsModule,
    NumericTextboxModule,
    ...
  ],  
  bootstrap: [
    AppComponent
  ]
})
export class AppModule {
}

Usage

<ngx-numeric-textbox
    [min]="min"
    [max]="max"
    [disabled]="disabled"
    [decimals]="decimals"
    [format]="format"
    [placeholder]="placeholder"
    [rangeValidation]="rangeValidation"
    [(ngModel)]="value"
    (focus)="onFocus()"
    (blur)="onBlur()"
    (enter)="onEnter()"
    (escape)="onEscape()"
    (ngModelChange)="ngModelChange($event)">
</ngx-numeric-textbox>

Contributing

I am very appreciate for your ideas, proposals and found bugs which you can leave in github issues. Thanks in advance!

6.0.0

6 years ago

2.0.2

6 years ago

2.0.1

6 years ago

2.0.0

6 years ago

1.0.0

7 years ago

0.0.11

7 years ago

0.0.10

7 years ago

0.0.9

7 years ago

0.0.8

7 years ago

0.0.7

7 years ago

0.0.6

7 years ago

0.0.5

7 years ago

0.0.4

7 years ago

0.0.3

7 years ago

0.0.2

7 years ago

0.0.1

7 years ago