vkurko / calendar

Full-sized drag & drop JavaScript event calendar with resource & timeline views

Home Page:https://vkurko.github.io/calendar/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

default event padding

hmzxpcm opened this issue · 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

Please check eventClassNames option.

I thought that this cb only works during initialization

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

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

thank you