diff --git a/docs/sliderios.html b/docs/sliderios.html index 342bae8e4ed..757df982d18 100644 --- a/docs/sliderios.html +++ b/docs/sliderios.html @@ -5,7 +5,7 @@ default blue gradient image.

onValueChange function #

Callback continuously called while the user is dragging the slider.

step number #

Step value of the slider. The value should be between 0 and (maximumValue - minimumValue). Default value is 0.

style View#style #

Used to style and layout the Slider. See StyleSheet.js and -ViewStylePropTypes.js for more info.

trackImage Image.propTypes.source #

Sets an image for the track. It only supports images that are included as assets

value number #

Initial value of the slider. The value should be between minimumValue +ViewStylePropTypes.js for more info.

thumbImage Image.propTypes.source #

Sets an image for the thumb. It only supports static images.

trackImage Image.propTypes.source #

Sets an image for the track. It only supports images that are included as assets

value number #

Initial value of the slider. The value should be between minimumValue and maximumValue, which default to 0 and 1 respectively. Default value is 0.

This is not a controlled component, e.g. if you don't update the value, the component won't be reset to its inital value.

Edit on GitHubExamples #

'use strict'; @@ -78,6 +78,12 @@ exports.examples render(): ReactElement { return <SliderExample step={0.25} />; } + }, + { + title: 'Custom thumb image', + render(): ReactElement { + return <SliderExample thumbImage={require('image!uie_thumb_big')} />; + } } ];
Next →