Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我正在使用以下插件并想更改 eventSource 的颜色,但我不知道该怎么做。
到目前为止,我有以下代码:
$('#calendar').fullCalendar({ eventSources: [ 'events/get_events' ]
该文档讨论了执行此操作的选项,但我无法正确使用语法。
有人能帮忙吗?
尝试这个:
$('#calender').fullCalendar({ eventSources: [ 'events/get_events', color: 'yellow', textColor: 'black' ] });