An open API service indexing awesome lists of open source software.

https://github.com/mburakerman/numscrubberjs

↔️ Let's change values of input numbers by dragging the mouse left & right
https://github.com/mburakerman/numscrubberjs

html5-input input-number javascript scrubber vanilla-javascript

Last synced: 27 days ago
JSON representation

↔️ Let's change values of input numbers by dragging the mouse left & right

Awesome Lists containing this project

README

        

# Numscrubber.js

> Let's change values of input numbers by dragging the mouse left & right

## Install

[![NPM](https://nodei.co/npm/numscrubberjs.png?mini=true)](https://www.npmjs.com/package/numscrubberjs/)

Include numscrubber.js file
```html

```
or use CDN
```html

```

## Usage

Just add ```data-numscrubber``` to your input number

```html

```
and then call ```init()```

```js

Numscrubber.init();

```
Thats it!

[JSFiddle demo](https://jsfiddle.net/9h3mgsp7/)

![CodePen demo](https://media.giphy.com/media/l0IygGSCTG9xhArXW/giphy.gif)

## Browsers

Works well on all modern browsers.

## Size

1.1 kb minified.

## License

Licensed under the MIT License.