https://github.com/leovo2708/ngx-numeric-textbox
Angular numeric textbox component
https://github.com/leovo2708/ngx-numeric-textbox
angular component numeric textbox
Last synced: 4 months ago
JSON representation
Angular numeric textbox component
- Host: GitHub
- URL: https://github.com/leovo2708/ngx-numeric-textbox
- Owner: leovo2708
- Created: 2017-07-27T09:01:08.000Z (almost 9 years ago)
- Default Branch: master
- Last Pushed: 2022-12-29T07:27:53.000Z (over 3 years ago)
- Last Synced: 2025-09-21T20:57:43.811Z (9 months ago)
- Topics: angular, component, numeric, textbox
- Language: TypeScript
- Size: 1.91 MB
- Stars: 7
- Watchers: 2
- Forks: 7
- Open Issues: 32
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# ngx-numeric-textbox
An Angular numeric textbox component
## Dependencies
* [Angular](https://angular.io)
* [Lodash](https://lodash.com)
* [Numeral](http://numeraljs.com)
* [Bootstrap 4 alpha 6](https://v4-alpha.getbootstrap.com)
You can customize CSS yourself to break down dependencies to Bootstrap.
## Demo
[https://leovo2708.github.io/ngx-numeric-textbox/](https://leovo2708.github.io/ngx-numeric-textbox/)
## Installation
After install the above dependencies, install `ngx-numeric-textbox` via:
```shell
npm install ngx-numeric-textbox --save
```
Once installed you need to import our main module in your application module:
```js
import { NumericTextboxModule } from 'ngx-numeric-textbox';
@NgModule({
declarations: [
AppComponent,
...
],
imports: [
FormsModule,
NumericTextboxModule,
...
],
bootstrap: [
AppComponent
]
})
export class AppModule {
}
```
## Usage
```html
```
* format string: http://numeraljs.com/#format
## Contributing
I am very appreciate for your ideas, proposals and found bugs which you can leave in github issues. Thanks in advance!