@erwinstone/input-touchspin
v1.0.3
Published
Javascript touch friendly input spinner
Downloads
258
Maintainers
Readme
input-touchspin
Javascript touch friendly input spinner
Features
- Pure javascript (no jQuery)
- CSS Framework Agnostic
- Using native HTMLInputElement.stepUp() and HTMLInputElement.stepDown() methods
- Lightweight (< 70 LOC)
Installation
Install with npm:
npm install @erwinstone/input-touchspin
Install from cdn:
<script src="https://unpkg.com/@erwinstone/[email protected]/dist/input-touchspin.min.js"></script>
Demos and documentation: https://input-touchspin.vercel.app/