10-17-2017 19:25
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post

10-17-2017 19:25
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post
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.

Accepted Solutions
10-18-2017 11:59
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post


10-18-2017 11:59
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post
- Who Voted for this post?
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
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post


10-18-2017 11:59
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post
- Who Voted for this post?
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
