1.0.0 • Published 9 years ago
ng-number-spin v1.0.0
ng-number-spin
ng-number-spin is a customizable directive for numeric inputs with spins for Angular.js
Installation
ng-number-spin requires Node.js v4+ to run.
Install the package.
$ npm install ng-number-spin --saveAdd to module dependencies
var app = angular.module('app', ['ngNumberSpin']);Usage example
<number-spin data-ng-model="vm.amount"></number-spin>Documentation
ng-number-spin is currently supported with the following features. Options on how to use them in your own application are linked below.
| Option | Type | Default | Description |
|---|---|---|---|
| step | number | 1 | increase/decrease step size on button click |
| spin-buttons | boolean | true | show or hide spin buttons |
Development
ng-number-spin uses Gulp.
To build source files use this command.
$ gulp buildLicense
MIT
1.0.0
9 years ago