我正在使用以下plugin并希望更改eventSource的颜色,但我无法弄清楚要做什么。
到目前为止,我有以下代码:
$('#calendar').fullCalendar({
eventSources: [
'events/get_events'
]
documentation讨论了执行此操作的选项,但我无法正确使用语法。
有人能帮忙吗?
答案 0 :(得分:0)
试试这个:
$('#calender').fullCalendar({
eventSources: [
'events/get_events',
color: 'yellow',
textColor: 'black'
]
});