09-07-2017 05:52
09-07-2017 05:52
Hello,
I wondered if it was possible to show/hide entire SVG layouts (possibly on a tap action)?
The use case would be similar to that on Pebble when having a clock face that switches to showing the date (or other information) on shake.
I'm also curious if this could be used for multi-page apps or if there is a better way to do this?
Thanks,
NiVZ
Answered! Go to the Best Answer.
Best Answer09-07-2017 07:22
Fitbit Developers oversee the SDK and API forums. We're here to answer questions about Fitbit developer tools, assist with projects, and make sure your voice is heard by the development team.
09-07-2017 07:22
Showing and hiding elements is the current way to do this. Give an element an ID, then toggle its display property with buttons or touch events.
https://dev.fitbit.com/guides/user-interface/javascript/#showing-hiding-an-element
09-07-2017 07:22
Fitbit Developers oversee the SDK and API forums. We're here to answer questions about Fitbit developer tools, assist with projects, and make sure your voice is heard by the development team.
09-07-2017 07:22
Showing and hiding elements is the current way to do this. Give an element an ID, then toggle its display property with buttons or touch events.
https://dev.fitbit.com/guides/user-interface/javascript/#showing-hiding-an-element
09-22-2017 20:27 - edited 09-22-2017 20:28
09-22-2017 20:27 - edited 09-22-2017 20:28
In complex apps, this may become a bit too disorganized and maybe consume more resources (not sure about this) than necessary. Is there going to be another way, like adding multiple views or something like that?
09-24-2017 06:11
Fitbit Developers oversee the SDK and API forums. We're here to answer questions about Fitbit developer tools, assist with projects, and make sure your voice is heard by the development team.
09-24-2017 06:11
It's not ideal, but we are investigating ways we can improve this in the future.