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

[Feature request] Add onPress and contextual menu on event #611

Open
alerena opened this issue Jun 3, 2021 · 1 comment
Open

[Feature request] Add onPress and contextual menu on event #611

alerena opened this issue Jun 3, 2021 · 1 comment

Comments

@alerena
Copy link

alerena commented Jun 3, 2021

It would be great if, instead to create a custom template, this component had an "onPress" event, specially for mobile and a "contextMenu" event when the right click is trigger.

If it's not a problem or a WIP, I can do this feature and then do a pull request.

@twinssbc
Copy link
Owner

twinssbc commented Jun 6, 2021

@alerena
As far as I know, to support press/tap action requires an external library, hammerjs.
But because of some issue, Ionic doesn't officially support it. So I try not to include some unstable dependency.
https://forum.ionicframework.com/t/solved-ionic-4-press-tap-events/144385/10

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