Advertisement
Guest User

Untitled

a guest
Feb 8th, 2016
60
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.41 KB | None | 0 0
  1. React.createClass({
  2. inchChanged(e, val){
  3. this.props.onInchChange(val);
  4. // How can I access the 2nd sliders value here?
  5. },
  6. render(){
  7. return (
  8. <div>
  9. <Slider onChange={this.inchChanged} name="inchSlider" value={this.props.inchValue} step={1} min={19} max={24}/>
  10. <Slider name="fractionSlider" value={this.props.fractionValue} step={1} min={19} max={24}/>
  11. </div>
  12. )
  13. }
  14. });
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement