4.0.2 • Published 9 years ago

apeman-react-slider v4.0.2

Weekly downloads
7
License
MIT
Repository
github
Last release
9 years ago

apeman-react-slider

Build Status Code Climate Code Coverage npm Version JS Standard

apeman react package for slider component.

Installation

$ npm install apeman-react-slider --save

Demo

Live demo is hosted on GitHub Pages.

Demo Image

Usage

'use strict'

import React from 'react'
import {ApSlider, ApSliderStyle} from 'apeman-react-slider'

const html = (
  <html>
  <head>
    <ApSliderStyle />
  </head>
  <body>
  <ApSlider
    initial={ 50 }
    min={ 0 }
    max={ 100 }
    onChange={(e) => {
                /* ... */
            } }
  />
  </body>
  </html>
)

Components

ApSliderHandle

Props

NameTypeDefaultDescription
onMovefunc
shouldMovefunc
xnumber
minXnumber
maxXnumber

ApSliderLabel

Props

NameTypeDefaultDescription
valuenumbernull

ApSliderStyle

Props

NameTypeDefaultDescription
styleobject{}
handleSizenumber24
barHeightnumber4
highlightColorstring'#38E'

ApSlider

Props

NameTypeDefaultDescription
initialnumber50
minnumber0
maxnumber100
stepnumber0.01
onChangefunc
barOnlyboolfalse

License

This software is released under the MIT License.

Links

4.0.2

9 years ago

4.0.1

9 years ago

4.0.0

9 years ago

3.0.9

9 years ago

3.0.8

9 years ago

3.0.7

9 years ago

3.0.6

9 years ago

3.0.5

9 years ago

3.0.4

9 years ago

3.0.3

9 years ago

3.0.2

9 years ago

3.0.1

9 years ago

3.0.0

9 years ago

2.2.2

9 years ago

2.2.1

9 years ago

2.1.2

10 years ago

2.1.1

10 years ago

2.1.0

10 years ago

2.0.3

10 years ago

2.0.2

10 years ago

2.0.1

10 years ago

2.0.0

10 years ago

1.1.1

10 years ago

1.1.0

10 years ago

1.0.6

10 years ago

1.0.5

10 years ago

1.0.4

10 years ago

1.0.3

10 years ago

1.0.2

10 years ago

1.0.1

10 years ago

1.0.0

10 years ago