Constructor
new Slider(props)
Parameters:
Name | Type | Description |
---|---|---|
props |
Object | React component props |
Extends
- React.Component
Members
(static) propTypes
Accepted propTypes of Slider
Properties:
Name | Type | Description |
---|---|---|
ariaLabelledby |
function | |
className |
function | |
maxValue |
function | |
minValue |
function | |
onSliderKeyDown |
function | |
onSliderMouseMove |
function | |
percentage |
function | |
type |
function | |
value |
function |
Methods
handleClick(event)
Handle any click event received by the component
Parameters:
Name | Type | Description |
---|---|---|
event |
SyntheticEvent | User event |
handleKeyDown(event)
Handle any keydown event received by the component
Parameters:
Name | Type | Description |
---|---|---|
event |
SyntheticEvent | User event |
handleMouseDown()
Handle any mousedown event received by the component
handleMouseMove(event)
Handle any mousemove event received by the component
Parameters:
Name | Type | Description |
---|---|---|
event |
SyntheticEvent | User event |
handleMouseUp()
Handle any mouseup event received by the component
handleTouchEnd()
Handle any touchend event received by the component
handleTouchMove(event)
Handle any touchmove event received by the component
Parameters:
Name | Type | Description |
---|---|---|
event |
SyntheticEvent | User event |
handleTouchStart(event)
Handle any touchstart event received by the component
Parameters:
Name | Type | Description |
---|---|---|
event |
SyntheticEvent | User event |
render() → {string}
Render method of the component
Returns:
Component JSX
- Type
- string