ionic-framework icon indicating copy to clipboard operation
ionic-framework copied to clipboard

Ionic 2 could not use Pinch event

Open ngocnv371 opened this issue 10 years ago • 7 comments

I added

(pinch)="onPinch($event)

but the function never get called when running on android.

Did I miss any secret setting?

Your system information:

Cordova CLI: 6.4.0 Ionic Framework Version: 2.0.0-rc.1 Ionic CLI Version: 2.1.4 Ionic App Lib Version: 2.1.2 Ionic App Scripts Version: 0.0.38 OS: Windows 8.1 Node Version: v6.6.0

ngocnv371 avatar Nov 07 '16 14:11 ngocnv371

Hello, would you mind demonstrating your issue here on this plunker? Thanks!

jgw96 avatar Nov 09 '16 16:11 jgw96

Here's the code http://plnkr.co/edit/C7KlidriniQGo6XUlRl4?p=preview

I ran that preview on Android (browser) and it's not working. Also happen on android native.

ngocnv371 avatar Nov 10 '16 02:11 ngocnv371

Hey @ngocnv371 would you mind taking a look at these docs and give that a try?

jgw96 avatar Nov 28 '16 20:11 jgw96

Hello! Thanks for using Ionic! I am going to close this issue for now as a support question. Following the above linked docs will fix this for you.

jgw96 avatar Dec 05 '16 16:12 jgw96

works great thanks!

bibounet avatar Dec 07 '16 08:12 bibounet

Thanks! The pinch event fires, any examples on how to implement it?

iliagerman avatar Dec 09 '16 23:12 iliagerman

Thanks for the issue! This issue is being locked to prevent comments that are not relevant to the original issue. If this is still an issue with the latest version of Ionic, please create a new issue and ensure the template is fully filled out.

ionitron-bot[bot] avatar Sep 05 '18 22:09 ionitron-bot[bot]