vkurko/calendar

default event padding

hmzxpcm opened this issue · 6 comments

hello again, it would be useful, at the time of creating the event, to indicate your class to it or remove the indentation on the right (so that the event occupies the entire width of the day) In my case, I need some events to take up the entire width of the day, and some have a standard indentation

vkurko commented

Please check eventClassNames option.

I thought that this cb only works during initialization

vkurko commented

If the option is set as a function, then it will be called every time the event is redrawn.

For some reason I can't take your advice, please look

https://jsbin.com/xaqucocajo/1/edit?js,console,output

vkurko commented

eventClassNames is available since v1.5.0. In your demo there is v1.3.0.

thank you