Gestures - Hold event help


#1

I’m doing an App that add and sub the quantite of an element, and I’ve found the gestures to help me on this task. When I tap the button, the element add one, and when I press the element add ten. The problem is that I’m trying to keep adding +10 when holding the button. Someone know a way to do that?

<button ion-button icon-only (tap)="add($event)" (press)="add($event)>
            <ion-icon name="md-add-circle"></ion-icon>
</button>
public add(event) {
    if (event.type == 'tap') {
      this.qtProduct++;
    } else if (event.type == 'press') {
        this.qtProduct = this.qtProduct + 10;
    }
  }