0
我必須設置timeFormat,axisFormat(HH:mm)在'ready'塊內調用!提供公共訪問默認插件設置?
我從http://www.learningjquery.com/2007/10/a-plugin-development-pattern讀了一篇文章。
也許我錯了,但我想設置參數fullcalendar的唯一途徑是通過「構造」通過它 - 我的意思是:
jQuery('#calendar').fullCalendar({
events: [
{
title: 'My Event',
start: '2010-06-08T14:30:00',
end: '2010-06-08T15:45:00',
allDay: false
}
// other events here...
],
defaultView: 'agendaDay',
timeFormat : {
"" : "H:mm{ - H:mm}",
agenda : "H:mm{ - H:mm}"
},
axisFormat : "H:mm"
});
但我真的需要設置那些(TIMEFORMAT ,axisFormat)對象初始化後的屬性... 這是一個執行錯誤,這些屬性不能被覆蓋後?
*我使用seam,primefaces(with fullcalendar.js)。我真的不知道是否有任何其他解決方案......幫助:)