Make clear that onSlidingComplete is called regardless whether value changes
Summary: Documentation didn't clearly state when onSlidingComplete callback is called. No tests necessary… simply changing docs. Closes https://github.com/facebook/react-native/pull/13282 Differential Revision: D4823866 Pulled By: ericvicenti fbshipit-source-id: 1c3be6ee4d52b097b7558067edf0388739d3f52e
This commit is contained in:
parent
8755338728
commit
e91cd2eff7
|
@ -126,8 +126,9 @@ var Slider = React.createClass({
|
|||
onValueChange: PropTypes.func,
|
||||
|
||||
/**
|
||||
* Callback called when the user finishes changing the value (e.g. when
|
||||
* the slider is released).
|
||||
* Callback that is called when the user releases the slider,
|
||||
* regardless if the value has changed. The current value is passed
|
||||
* as an argument to the callback handler.
|
||||
*/
|
||||
onSlidingComplete: PropTypes.func,
|
||||
|
||||
|
|
Loading…
Reference in New Issue