drozhzhin-n-e / ngx-pinch-zoom

Module provides for image zooming and positioning with use of gestures on a touch screen.
http://ivylab.space/pinch-zoom
MIT License
113 stars 95 forks source link

Event zoom-in and zoom out not working #79

Closed andrzepakula closed 2 years ago

andrzepakula commented 3 years ago

Hi. I am using pro version.I have subscription events in my code, and retrieve only touchend event.

`<pinch-zoom (events)="handlePinchZoomEvents($event)" listeners="auto"

<img (click)="gallerized.emit(true)" [src]="src" alt="Produkt"/>

` handlePinchZoomEvents(event: any) { console.log(event); {name: "touchend", detail: undefined}

}

`

drozhzhin-n-e commented 3 years ago

Hello. Does everything else work fine?

andrzepakula commented 3 years ago

Yes, otherwise it's ok, but the zoom in zoom out event doesn't work. I managed without them.

playground commented 2 years ago

It's not working for me too, how do you listen to an event? want to be able to determine scale factor and the mouse position on the image.