Cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

How to create a range slider input

Hi, I'm trying to create a range slider input element to use for a dimmable switch input. I have seen the JSX Slider input under settings but is there anything comparable for the device app GUI?

Best Answer
0 Votes
4 REPLIES 4

I can really only think that the TumblerView would be closest? https://dev.fitbit.com/build/guides/user-interface/svg-components/views/#tumbler-view

 

Unless you manually track the touch events and move slider elements on screen yourself.

Best Answer
0 Votes

Thanks @JonFitbit but that's not quite what I was looking for. I did end up making my own range slider and manually track touch events as you just mentioned. Thanks anyway 🙂 Can share code for anyone interested.

Best Answer

Hey sunfinawaz, if you still have the code that you created for your custom slider and wouldn't mind sharing it with me please let me know as it would help me on a project I am currently working on.

Best Answer
0 Votes

Hi @sufinawaz I'm interested in how you achieved this. If you could share the code, I'd really appreciate.

Best Answer
0 Votes