JackDanielsAndCode / react-native-multi-slider

Pure JS react native slider component with one or two markers.
MIT License
151 stars 96 forks source link

Is there a way to show the value above the marker so it slides as the marker moves? #43

Open saudpunjwani101 opened 7 years ago

saudpunjwani101 commented 7 years ago

Just like in this picture

solver
wmonecke commented 6 years ago

well yes You setState({ selectedValue: value }) on the call back and then display the value using this.state.selectedValue

halzahrani79 commented 6 years ago

I think he meant that the values will move with the slider which is the thing i want if possible , if not possible , then i will have to do it manually

timorss commented 6 years ago

i add in the slider.js var FirstMarker = this.props.firstCustomMarker; var SecondMarker = this.props.secondCustomMarker; and managed to do it! whatsapp image 2017-11-27 at 12 52 47

Zilleabbas10 commented 6 years ago

@timorss there is no slider.js file in its library folder. Did someone has succeeded to done this so. if yes, then please share info to show values with markers

muhammadsr commented 5 years ago

Has anyone manage to get the value to show/move with the marker?