🔔 Alert..!! Get 2 Month Free Cloud Hosting With $200 Bonus From Digital Ocean ACTIVATE DEAL

A simplest AngularJS directive which allows the user to select a number with increment & decrement buttons.

Forms Plugins

Documentation

jh-angular-number-picker

jh-number-picker is an angluar ^1.5.0 component for easily selcecting a number in a visually appealing (no bootstrap required) and functional way.

##Demo

jh-angular-number-picker

Requirements

Angularjs ^1.5.0

Installation

$ npm install jh-angular-number-picker --save

Usage

Include module into app dependancy

<script> angular.module('myApp', [     'jh.angular-number-picker' ]).controller('myController', ['$scope', function($scope){     $scope.myNumber = 0; }]); </script>

Use in template view

<jh-number-picker number="myNumber"></jh-number-picker>

Options

Attribute Type Default Value
number number 0
min number 0
max number 100
step number 1

License

MIT


You May Also Like