- Added SafeUrl as data type for thumbImage and fullImage.
- 'hover-freeze' has changed name to 'toggle-freeze', a more descriptive name. And a new mode has been added called 'hover-freeze', see README for description.
- Demonstration of available features available in (v2.0.0)
- Added
alt
andtitle
attributes to the thumb and full image withaltText
andtitleText
inputs.
- Updated for latest Angular
- Merged PR#88 for toggle-click zoom mode
- Added additional @Output, imagesLoaded, showing the value of isReady. Which is true when both thumbnail and fullImage is loaded
- 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 recommendaing naming conventions the follow 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.