'on-hold' event on ionic


#1

Hi,

I have a question, there is an event or way to detect the ‘hold’ or ‘double tab’ in ionic 2?.

Thanks


#2

Yeah, I’m needing this too.

Couldn’t find in docs.


#3

I am looking on that one too


#4

Same here, cmon is something elementary xd


#5

If it’s so elementary why don’t you implement it and submit a pull request?


#6

¿? when we are playing with mobiles ofcourse that on-hold event handler is something elementary, not just for me. But is not a negativo criticsm, i am very agree with this framework, which i think is the best of his class. Theres no need to put on a defensive mode.

And ofcourse if i am posting here, i dont know how to implement that, and yeah i am not ve y familiar with github and with pull request, never did it, my english is poor and i think others people asked for that.


#7

What a coincidence…I just posted a tutorial on this! :slight_smile: I directly cover a “hold” gesture (now referred to as press), but detecting multiple taps is possible with only slight alteration.

Here’s a direct link to the tutorial: http://roblouie.com/article/198/using-gestures-in-the-ionic-2-beta

Here’s the other forum post:


#8

Niceeeee, i will try it


#9

This might come in handy Ionic 2 Gestures, I’m planning to use this for detecting ‘hold’ gestures within my app


#10

I was able to use the ‘press’ event from Ionic 2 Gestures to do the same thing as a ‘hold’. In my case I’m using it to show an Action Sheet on hold