1.1.1 • Published 6 years ago

input-number v1.1.1

Weekly downloads
10
License
MIT
Repository
github
Last release
6 years ago

input-number stable

Make input field recognize numbers close to the caret, like chrome dev tools:

input-number

Usage

npm install input-number

const num = require('input-number');

var input = document.createElement('input');
input.value = 'rgb(230, 110, 210)';

num(input, {
	min: 0,
	max: 255,
	step: 1
});

See also

  • settings-panel — simple settings for app, demo or tests.
  • autosize — make textarea align it’s height by content.
  • autosize-input — make text input adjust it’s width by content.
1.1.1

6 years ago

1.1.0

6 years ago

1.0.5

8 years ago

1.0.4

8 years ago

1.0.3

8 years ago

1.0.2

8 years ago

1.0.1

8 years ago

1.0.0

8 years ago