Fullcalendar with Twitter Bootstrap Popover

后端 未结 4 1485
暖寄归人
暖寄归人 2021-02-02 14:41

I am trying to get Fullcalendar working with twitter boostrap popovers.
if I click an event, i want to show some details in the popover.
So first added this lil snippet

4条回答
  •  悲&欢浪女
    2021-02-02 15:25

    This code helped me

    $('#calendar').fullCalendar({
        eventRender: function (event, element) {
            element.popover({
                title: event.name,
                placement: 'right',
                content: + '
    Start: ' + event.starts_at + '
    End: ' + event.ends_at + '
    Description: ' + event.description, }); } });

    bootstrap version - 2.3.2, full calendar - 1.6.4

    taken from https://groups.google.com/forum/#!topic/twitter-bootstrap-stackoverflow/9pkC3_lodmY

提交回复
热议问题