12-23-2018 19:43
12-23-2018 19:43
I'm trying to change the alignment of some text based on a setting since a user pointed out that having my time centered with seconds causes it to move around a lot. They suggested left aligning if they pick the option to show seconds. I can't seem to find away to change the text-anchor. Using style.textAnchor = "start" didn't seem to do anything.
Best Answer01-08-2019 17:28
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.
01-08-2019 17:28
Try it without the .style, it looks like it's just an attribute on the element itself.
https://dev.fitbit.com/build/reference/device-api/document/#interface-textelement