Class: Track

Track~Track

Track React component

Constructor

new Track(props)

Parameters:
Name Type Description
props Object React component props
Source:

Extends

  • React.Component

Members

(static) propTypes

Accepted propTypes of Track
Properties:
Name Type Description
children function
classNames function
onTrackMouseDown function
percentages function
Source:

clientRect :ClientRect

Return the clientRect of the component
Type:
  • ClientRect
Source:

Methods

handleMouseDown(event)

Handle any mousedown event received by the component
Parameters:
Name Type Description
event SyntheticEvent User event
Source:

handleTouchStart(event)

Handle any touchstart event received by the component
Parameters:
Name Type Description
event SyntheticEvent User event
Source:

render() → {string}

Render method of the component
Source:
Returns:
Component JSX
Type
string