Ionic-long-press- solved!


#1

I work according to this link:

https://www.npmjs.com/package/ionic-long-press

and the button not working for me.

anyone try this library. did you know more options to handle “onPressStart” and “onPressEnd”??

Thanks advance!

(ionic 3)


#2

Ionic has its own (press) event handler that may conflict?


#3

ionic has ‘press’ event? what the difference from ‘tap’ or ‘click’?
ionic has “onPressStart” and “onPressEnd”?

Thanks for your answer!

edit:
my mistake was that I do not import the “Ionic-long-press” in page module.
I import the plugin only in the main module.


#4

Hi

The ionic press event is not as sofiaricated to support long and short

Tap/click is just very short

Tom