创建 fullCalendar 后有没有办法绑定事件?
就像是:
jQuery( '#calendar' ).bind( 'dayClick', function( date, allDay, jsEvent, view ){} );
创建 fullCalendar 后有没有办法绑定事件?
就像是:
jQuery( '#calendar' ).bind( 'dayClick', function( date, allDay, jsEvent, view ){} );
当然可以。
$('#calendar').fullCalendar('renderEvent',
{
title: 'title',
start: 'start date',
end: 'end date',
id: 'id',
description: 'description',
allDay: globalAllDay,
color: 'blue'
},
true
);
目前这是不可能的,但我真的很想把它放在全日历中。当我重新架构一些东西时,可能会在 1.5 中。您可以向问题跟踪器添加功能请求吗?谢谢