ng-number-spin

1.0.0 • Public • Published

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.

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 build

License

MIT

Package Sidebar

Install

npm i ng-number-spin

Weekly Downloads

2

Version

1.0.0

License

MIT

Last publish

Collaborators

  • falendary