wittlock / ngx-image-zoom

Angular component for zoomable images
https://wittlock.github.io/ngx-image-zoom/
MIT License
133 stars 64 forks source link

New hover-freeze and toggle-freeze #118

Closed felipealbuquerq closed 1 year ago

felipealbuquerq commented 1 year ago

I need implements 'toggle-freeze' as was 'hover-freeze' and does 'hover-freeze' without needing to click to zoom: Whenever the mouse cursor moves over the thumbnail it will show the zoomed image, first click freezes the zoomed image where it is, second click unfreeze thumbnail.

See this axample

wittlock commented 1 year ago

Thank you for your contribution. I just pushed 2.0.0 to npm with your changes and Angular 15 as my base (more ivy compatibility I hope). Decided to go a bit further with the version to make it super clear about the breaking change.