Almost all Gesture not recognised


#1

Hello, i’m in trouble with the native ionic3 gesture.

For testing purpose i use the following function :

import {Gesture} from "ionic-angular"; 

touchDown() {
  console.log("Touch");
}

I have the following XHTML line:

  <button ion-button icon-end solid color="secondary" (tap)="touchDown()">Show me !</button>

But if i use the following line the console log is not triggered :

  <button ion-button icon-end solid color="secondary" (hold)="touchDown()">Show me !</button>

The amount of information is maybe cheap, don’t hesitate to ask for detail :slight_smile:

Thanks for reading


#2

Pure guess: Use ion-button element, not button.
Does it work with the example from https://ionicframework.com/docs/components/#gestures?