Skip to content

Latest commit

 

History

History
28 lines (18 loc) · 525 Bytes

README.md

File metadata and controls

28 lines (18 loc) · 525 Bytes

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/input-touchspin@1.0.3/dist/input-touchspin.min.js"></script>

Demos and documentation: https://input-touchspin.vercel.app/