- added
alt
tags for both rendered images,thumbnailAlt
andfullsizeAlt
respectively
- fixed ChangeDetection when ngx-image-zoom is embedded in OnPush components
- Removed input parameters scrollParentSelector and isInsideStaticContainer as I believe these are no longer needed.
- Rewrote the zooming position calculations, it feels much more robust now and will hopefully perform as expected in more situations with complex layouts.
- Replaced BrowserModule with CommonModule. (Angular guide)
- To comply with recommended naming conventions the following name changes have been done:
- Changed tag name from ngx-image-zoom to lib-ngx-image-zoom (style 02-07)
- Changed output onZoomScroll to zoomScroll (style 05-16)
- Changed output onZoomPosition to zoomPosition (style 05-16)
- With the upgrade .forRoot() is no longer needed when importing the NgxImageZoomModule in your project.
- Completely redid the library wrapping for Angular 9 support.
- Library is now in Angular Package Format for better compatibility.
- Added a new input scrollParentSelector to further control zooming in complex layouts.
- Clean up event listeners when component is destroyed.