Hide start time in FullCalendar

后端 未结 13 1608
灰色年华
灰色年华 2021-02-06 21:32

On FullCalendar, in the month view, is there a way to hide an event\'s start time?

13条回答
  •  伪装坚强ぢ
    2021-02-06 22:14

    Another way is to add an eventRender function. This way you can choose to not render the time, and do something else like append some data to the event.

    eventRender: function(event, element) { 
        element.find('.fc-event-title').append("
    " + event.location); element.find('.fc-event-time').hide(); }

提交回复
热议问题