0.2.8 • Published 9 years ago

react-tangle-compat v0.2.8

Weekly downloads
12
License
ISC
Repository
github
Last release
9 years ago

react-tangle

A tangle.js-style numeric input for React.js.

api

required

<TangleText
  value={numeric value}
  onChange={function to be called on change} />

optional

onFocus={function}
onBlur={function}
popoverKey={string}
className={string, default 'react-tangle-input'}
min={numeric, default -Infinity}
max={numeric, default Infinity}
step={numeric, default 1}
metaStep={numeric, default (10 * step)}
format={function, function(x) { return x; }}
disabled={boolean, default false}

Step is a ratio of pixels moved by mouse versus change in the number. Metastep is a step invoked by holding the Shift key.

Up/Down arrows increment the value by the step value.

See Also

0.2.8

9 years ago

0.2.7

9 years ago

0.2.6

9 years ago

0.2.5

9 years ago

0.2.4

9 years ago

0.2.3

9 years ago

0.2.2

9 years ago

0.2.1

9 years ago

0.2.0

9 years ago

0.1.0

9 years ago