1.1.1 • Published 7 years ago

input-number v1.1.1

Weekly downloads
10
License
MIT
Repository
github
Last release
7 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

7 years ago

1.1.0

7 years ago

1.0.5

9 years ago

1.0.4

9 years ago

1.0.3

9 years ago

1.0.2

9 years ago

1.0.1

9 years ago

1.0.0

9 years ago