jh-angular-number-picker
v0.0.5
Published
an angularjs 1.5 component for selecting a number
Downloads
10
Maintainers
Readme
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
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