vkurko / calendar

Full-sized drag & drop JavaScript event calendar with resource & timeline views
https://vkurko.github.io/calendar/
MIT License
969 stars 82 forks source link

New Feature: ContextMenu Event. Right click menu? #195

Open SuperPauly opened 7 months ago

SuperPauly commented 7 months ago

So I was thinking of attempting to add a right click context menu.

After reading the Contributions.md it stated that I should ask around if any one also wants this added?

I will name the function along with the current style and call it something along the lines of noEventsContextMenuClick() and eventContextMenuClick().

I assume I just follow the same implementation as noEventsClick() & eventContextMenuClick() but for a right click?

Any suggestions or guidance anyone can offer?

I will probably start implementing if no one wants it anyway as I kind of want it added anyway.

Thanks.

vkurko commented 7 months ago

I would like to keep the API similar to FullCalendar. About right click I found this thread. It seems that this feature has not been added to the library yet. But you might be able to find the option/callback signatures there. Unfortunately, I don't have enough free time to do that right now.