disable-input-scroll
A Node.js module which disable scroll from input type number.
Installation
npm install disable-input-scroll --save
Params:
- classname - name of the class which needs disabling scroll feature [Default - "no-scroll"]
Usage
<input type="number" value="0" class="no-scroll" />
const disableInputScroll = require('disable-input-scroll')
disableInputScroll();
License
Copyright © 2021, Tanvir Rahman. Released under the MIT License.