ng-spin-box
v0.2.3
Published
<h2>Spinbox Directive for Angular.</h2>
Downloads
93
Maintainers
Readme
NgSpinBox
Installation
Usage
Import 'NgSpinBoxModule' in app.module.ts / .module.ts
Then, Simply use as a directive, wrapped in a container(Important):
<div>
<input type='tel' ngSpinBox step='0.01' min='0.01' decimal='2' snapToStep='true'>
</div>
Classes for Wrapper Element, Increment and Decrement Button are: 'ng-spin-box-wrapper', 'ng-spin-box-btn-up' and 'ng-spin-box-btn-down' respectively.