Ionic-framework: Ionic 2 could not use Pinch event

Created on 7 Nov 2016  路  7Comments  路  Source: ionic-team/ionic-framework

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

reply

All 7 comments

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

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.

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

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.

works great thanks!

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

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.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

giammaleoni picture giammaleoni  路  3Comments

masimplo picture masimplo  路  3Comments

MrBokeh picture MrBokeh  路  3Comments

danbucholtz picture danbucholtz  路  3Comments

SebastianGiro picture SebastianGiro  路  3Comments