vkurko/calendar

Can be time hidden for allDay events in dayGridMonth view?

dimakovalevskyi opened this issue · 5 comments

Hello, thanks for your library!

Can time be hidden for allDay events in dayGridMonth view?

Can we get something like this
image

Instead of this
image

This could be solved manually if these events had a specific class on ec-event element like ec-event-all-day. But it doesn't have :
image

vkurko commented

Hello @dimakovalevskyi

You can completely override event rendering using the eventContent option. I've prepared a demo for you.

In the future, it will be possible to add custom classes to events, so the method you suggested will also work.

vkurko commented

Actually I think that such a rendering option, when div.ec-event-time is missing for allDay events, I will make it default.

Awesome, thank you!

vkurko commented

Actually I think that such a rendering option, when div.ec-event-time is missing for allDay events, I will make it default.

@dimakovalevskyi This is now implemented in v1.4.0. Please check.

Yeah, thank you!