1.0.0 • Published 8 years ago

ng-number-spin v1.0.0

Weekly downloads
3
License
MIT
Repository
github
Last release
8 years ago

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 --save

Add 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.

OptionTypeDefaultDescription
stepnumber1increase/decrease step size on button click
spin-buttonsbooleantrueshow or hide spin buttons

Development

ng-number-spin uses Gulp.

To build source files use this command.

$ gulp build

License

MIT