You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I need to expose a button elsewhere on the page that will restore the zoom to the default. The recommendation that I'm hearing is that I should use $('body').zoomTo().
Using the github example in examples/scrolling/index.html, I added the zoomTarget class to body and appended the following button:
I need to expose a button elsewhere on the page that will restore the zoom to the default. The recommendation that I'm hearing is that I should use $('body').zoomTo().
Using the github example in examples/scrolling/index.html, I added the zoomTarget class to body and appended the following button:
It never has an effect.
Am I doing something wrong?
The text was updated successfully, but these errors were encountered: