10-17-2017 19:25
10-17-2017 19:25
I was hoping to be able to animate multiple objects on the screen, based on a click anywhere on the screen.
I have an invisible button covering the whole screen at the moment to detect clicks.
When it happens, I have it currently invert the visibility (style.display) of 8 objects. This is instant, so I'd like to be able to slowly fade the objects out on touch, then a second touch anywhere would fade them all back in again, but looking at the documentation from the link below it appears each object can only have one animation and it has to be hard-coded in index.gui:
https://dev.fitbit.com/guides/user-interface/animations/
Answered! Go to the Best Answer.
10-18-2017 11:59
10-18-2017 11:59
We will have better control over this in the near future, but you can setup the individual animations, then trigger them from JavaScript. https://dev.fitbit.com/guides/user-interface/javascript/#triggering-animations
10-18-2017 11:59
10-18-2017 11:59
We will have better control over this in the near future, but you can setup the individual animations, then trigger them from JavaScript. https://dev.fitbit.com/guides/user-interface/javascript/#triggering-animations