I am implementing openseadragon plugin in angular4 on a popup slider, on close of popup (or while going to next image) if current image is zoomed I have to resize current image to it's default size (similar to go home button).
Any suggestions will be helpful.
Assuming your OpenSeadragon Viewer is called
viewer
, you'd doviewer.viewport.goHome()
to go back to the default size.