我正在使用以下 plugin并想更改 eventSource 的颜色,但我不太清楚该怎么做。
到目前为止,我有以下代码:
$('#calendar').fullCalendar({
eventSources: [
'events/get_events'
]
documentation讨论了执行此操作的选项,但我无法获得正确的语法。
有人可以帮忙吗?
最佳答案
试试这个:
$('#calender').fullCalendar({
eventSources: [
'events/get_events',
color: 'yellow',
textColor: 'black'
]
});
关于javascript - 如何更改 (jQuery) FullCalendar 中事件源的颜色?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/15254229/