I have multiple views. When I return to home view I would like to reset position/pagination to first page for panoramaview.
I tried
document.getElementById('container-home').value = 0;But it does not change page.
How to do this?
Answered! Go to the Best Answer.
Best Answer
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.
Hard to tell without seeing more code, but if you definitely have a handle on the container, then that should be valid.
<use id="container-home" href="#panoramaview">
Are you using template symbols? https://dev.fitbit.com/build/guides/user-interface/svg/#template-symbols
If so, you might need to get a handle on the instance, then use that to get a handle on the container of your panorama.
Please provide more of the gui file
Best Answer
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.
Hard to tell without seeing more code, but if you definitely have a handle on the container, then that should be valid.
<use id="container-home" href="#panoramaview">
Are you using template symbols? https://dev.fitbit.com/build/guides/user-interface/svg/#template-symbols
If so, you might need to get a handle on the instance, then use that to get a handle on the container of your panorama.
Please provide more of the gui file
Best Answer#JonFitbit I double checked code and it works. I was not sure that this was the correct way.
Best Answer