vkurko / calendar

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

feature to add link to event #117

Closed victorDigital closed 1 year ago

victorDigital commented 1 year ago

a feature I would like to see is the possibility of adding a link to a calendar event like a

<a href="..."> normal event HTML here </a>

ps. if you try to do this currently by modifying the event.el.outerHTML of the event and wrapping it in an a tag you no longer are able to switch weeks

A sleek implementation that allows this feature is adding another event object property e.g. backgroundColor

thanks from Copenhagen, Denmark 😎✌️

vkurko commented 1 year ago

I would like to see is the possibility of adding a link to a calendar event

Did you check eventContent setting? It allows you to display absolutely any content inside the events.

adding another event object property e.g. backgroundColor

backgroundColor is supported. Please see here.