disable-input-scroll

0.1.0 • Public • Published

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.


Package Sidebar

Install

npm i disable-input-scroll

Weekly Downloads

0

Version

0.1.0

License

MIT

Unpacked Size

2.79 kB

Total Files

4

Last publish

Collaborators

  • tanvir_rahman