react-range-slider
Advanced tools
Comparing version 0.0.1 to 0.0.2
@@ -226,2 +226,10 @@ var React = require('react/addons'); | ||
componentWillReceiveProps: function(nextProps) { | ||
if(nextProps.value) { | ||
this.setState({ | ||
value: valureFormat(nextProps.value, this.props.max - this.props.min) | ||
}); | ||
} | ||
}, | ||
componentDidMount: function () { | ||
@@ -228,0 +236,0 @@ this.handleResize(); |
{ | ||
"name": "react-range-slider", | ||
"version": "0.0.1", | ||
"version": "0.0.2", | ||
"description": "A flexible slider for reactjs.", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
20971
573