Skip to content

erwinstone/input-touchspin

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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/