Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

it's possible a "long click" ? #622

Open
ErnestoLopez opened this issue Aug 10, 2021 · 2 comments
Open

it's possible a "long click" ? #622

ErnestoLopez opened this issue Aug 10, 2021 · 2 comments

Comments

@ErnestoLopez
Copy link

Hello,

when I use onTimeSelected I can control if a date / time has been chosen with a click.

Is there a way to differentiate if a "simple click" or a "long click" (that is, it is pressed for a polongrade time) has been made to perform different behaviors?

Thanks,

Ernesto

@ErnestoLopez
Copy link
Author

maybe it's possible to use some of this ...

https://jordanbenge.medium.com/ionic-4-gestures-made-easy-5ce30aa82b7b

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

??

Greetings,

Ernesto

@twinssbc
Copy link
Owner

@ErnestoLopez I'm aware that the Ionic gesture solution based on HammerJS seems not stable. But looks like Angular provides a module for it, so I will give a try.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants