ngx-numeric-textbox-upd
TypeScript icon, indicating that this package has built-in type declarations

13.0.3 • Public • Published

ngx-numeric-textbox-upd

An updated fork of the original Angular numeric textbox component ngx-numeric-textbox (https://github.com/leovo2708/ngx-numeric-textbox) with Angular and npm dependencies bumped

Dependencies

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

Demo

https://github.com/GStoynev/ngx-numeric-textbox/

Installation

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

npm install ngx-numeric-textbox-upd --save

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

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

@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!

Package Sidebar

Install

npm i ngx-numeric-textbox-upd

Weekly Downloads

13

Version

13.0.3

License

MIT

Unpacked Size

34.4 kB

Total Files

11

Last publish

Collaborators

  • gstoynev