twinssbc / Ionic2-Calendar

A calendar component based on Ionic framework
https://ionic-calendar-demo.stackblitz.io
MIT License
387 stars 197 forks source link

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

Open alerena opened 3 years ago

alerena commented 3 years ago

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 commented 3 years ago

@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