JSFiddle - React, Tailwind, and code Playground

by Amitabha Ghosh

HTML

<script src="http://www.virtuosoft.eu/code/bootstrap-touchspin/bootstrap-touchspin/v3.0.1/jquery.bootstrap-touchspin.js"></script>
<h1>Bootstrap Touchspin</h1>
<input id="spinedit" type="text" value="55">

JavaScript

$('#spinedit').TouchSpin({
                min: 0,
                max: 100,
                step: 0.1,
                decimals: 2,
                boostat: 5,
                maxboostedstep: 10,
                postfix: '%'
            }).on('touchspin.on.uponce', function () {alert("HI");});