0.7.0 • Published 20 days ago

@blaze-react/range-slider v0.7.0

Weekly downloads
32
License
ISC
Repository
-
Last release
20 days ago

Description

Range slider allows the input of numeric values within a specific range. It can accept a single value, or a range of values (min/max).

Usage

  • With one moveable hander
<RangeSlider
    name="oneValue"
    maxValue={20}
    minValue={0}
    onChange={() => { }}
    value={15} />
  • With one moveable handler and custom step value
<RangeSlider
    name="step"
    maxValue={20}
    minValue={0}
    onChange={() => { }}
    step={5}
    value={15} />
  • With two moveable handlers
<RangeSlider
    name="twoValue"
    maxValue={20}
    minValue={0}
    onChange={() => { }}
    value={{ min: 3, max: 7 }} />
  • With two moveable handlers and draggable track
<RangeSlider
    draggableTrack
    name="draggableTrack"
    maxValue={20}
    minValue={0}
    onChange={() => { }}
    value={{ min: 3, max: 7 }} />

API

RangeSlider can receive a number of props as follow:
NAMETYPEDEFAULT
allowSameValuesBooleanfalse
disabledBooleanfalse
draggableTrackBooleanfalse
maxValueNumber10
minValueNumber0
nameString''
onChangeFunction() => {}
stepNumber1
valueNumber/Object0
0.8.0-alpha.33

21 days ago

0.8.0-alpha.35

20 days ago

0.8.0-alpha.31

21 days ago

0.8.0-alpha.26

2 months ago

0.8.0-alpha.24

2 months ago

0.8.0-alpha.23

2 months ago

0.8.0-alpha.21

3 months ago

0.8.0-alpha.14

3 months ago

0.8.0-alpha.16

3 months ago

0.8.0-alpha.11

3 months ago

0.8.0-alpha.10

3 months ago

0.8.0-alpha.13

3 months ago

0.8.0-alpha.19

3 months ago

0.8.0-alpha.18

3 months ago

0.8.0-alpha.20

3 months ago

0.8.0-alpha.9

3 months ago

0.8.0-alpha.7

3 months ago

0.8.0-alpha.6

3 months ago

0.8.0-alpha.4

3 months ago

0.8.0-alpha.3

3 months ago

0.7.0

6 months ago

0.6.4

9 months ago

0.6.2

10 months ago

0.6.0

10 months ago

0.5.28

10 months ago

0.5.19

1 year ago

0.5.17

1 year ago

0.5.15

1 year ago

0.5.13

1 year ago

0.5.12

1 year ago

0.5.9

1 year ago

0.5.8

1 year ago

0.5.0

1 year ago

0.4.57

1 year ago

0.4.55

1 year ago

0.4.54

1 year ago

0.4.52

1 year ago

0.4.48

2 years ago

0.4.47

2 years ago

0.4.46

2 years ago

0.4.42

2 years ago

0.4.38

2 years ago

0.4.37

2 years ago

0.4.37-alpha.0

2 years ago

0.4.36

2 years ago

0.4.33

2 years ago

0.4.34

2 years ago

0.4.29

2 years ago

0.4.22

2 years ago

0.4.16

2 years ago

0.4.15

2 years ago

0.4.14

2 years ago

0.4.13

2 years ago