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 am trying to add in index.html the zoom in and zoom out button.
The code is:
<button id = "zoomIn" class = "toolbarButton zoomIn" title = "zoomIn"></button>
<button id = "zoomOut" class = "toolbarButton zoomOut" title = "zoomOut"></button>
It doesn't work.
Thanks
The text was updated successfully, but these errors were encountered:
The viewer.js has a document.getElementById("download") in it. If we delete the element the script crashes and this is the reason it is not working.
Before add the event listener to the toolbar, I suggest to check if the element exists in the DOM. This way we can remove / add whatever button we need to show.
i am trying to add in index.html the zoom in and zoom out button.
The code is:
<button id = "zoomIn" class = "toolbarButton zoomIn" title = "zoomIn"></button>
<button id = "zoomOut" class = "toolbarButton zoomOut" title = "zoomOut"></button>
It doesn't work.
Thanks
The text was updated successfully, but these errors were encountered: