Display more Text in fullcalendar

后端 未结 9 887
一整个雨季
一整个雨季 2020-12-12 09:45

I am looking for a solution to display more information in event.

For example in the DayView you see a event from 06:00 to 10:00.
I want to display a additio

9条回答
  •  暗喜
    暗喜 (楼主)
    2020-12-12 09:53

    I would recommend the use of the eventAfterRender callback instead of eventRender. Indeed if you use eventRender you might jeopardize the correct display of the events, in coffee script, it something like :

    $("#calendar").fullCalendar
        eventAfterRender: (event, element) ->
            element.find('.fc-title').after(""+event.description+"")
    

提交回复
热议问题