Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- React.createClass({
- inchChanged(e, val){
- this.props.onInchChange(val);
- // How can I access the 2nd sliders value here?
- },
- render(){
- return (
- <div>
- <Slider onChange={this.inchChanged} name="inchSlider" value={this.props.inchValue} step={1} min={19} max={24}/>
- <Slider name="fractionSlider" value={this.props.fractionValue} step={1} min={19} max={24}/>
- </div>
- )
- }
- });
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement