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

How to change text of items in a tumbler from the app (index.js)?

I have a tumbler in my index.gui, but I need to be able to change the values in it from my app. How is this possible?

Best Answer
0 Votes
1 REPLY 1

Get a handle on the selected tumbler item, then use that to get a handle on the text element inside it. From there you can set the `.text` property to a different value.

 

You can see it at the very end of the tumbler example here

https://dev.fitbit.com/build/guides/user-interface/svg-components/views/#tumbler-view

Best Answer
0 Votes