Home

Awesome

#dragToIncDec

Change input value by dragging label. View demo here.

Usage

HTML

<label for="number">Number: </label>
<input type="text" name="number" id="number" class="dragToIncDec" data-min="0" data-max="100" data-step="2">

JS

$('.dragToIncDec').dragToIncDec();

Settings

License

Released under MIT license.