【问题标题】:How do I change the color of an eventSource in (jQuery) FullCalendar?如何在 (jQuery) FullCalendar 中更改 eventSource 的颜色?
【发布时间】:2013-03-06 17:39:24
【问题描述】:

我正在使用以下plugin 并想更改 eventSource 的颜色,但我不知道该怎么做。

到目前为止,我有以下代码:

$('#calendar').fullCalendar({
       eventSources: [
        'events/get_events'
    ]

documentation 讨论了执行此操作的选项,但我无法正确使用语法。

有人可以帮忙吗?

【问题讨论】:

  • 我认为你已经尝试过 CSS

标签: javascript jquery


【解决方案1】:

试试这个:

 $('#calender').fullCalendar({
        eventSources: [
    'events/get_events',
    color: 'yellow',
    textColor: 'black'
   ]
});

【讨论】:

猜你喜欢
  • 1970-01-01
  • 1970-01-01
  • 2018-09-30
  • 1970-01-01
  • 1970-01-01
  • 2013-07-30
  • 1970-01-01
  • 2013-07-10
  • 1970-01-01
相关资源
最近更新 更多