Jquery plugins 全日历定制颜色

Jquery plugins 全日历定制颜色,jquery-plugins,plugins,fullcalendar,color-picker,Jquery Plugins,Plugins,Fullcalendar,Color Picker,我需要在创建完整日历中的每个事件时添加自定义颜色,就像在谷歌日历中一样-用户可以自定义事件的文本和背景颜色 您知道最适合完整日历的颜色选择器插件吗?它在完整日历文档中。。。现在好像是在下降。您可以将每个事件的颜色作为阵列元素传递: 'backgroundColor' => "#36c", 'borderColor' => "#36c", 'textColor' => "#36c", 没有插件需要 您可以为新事件设置CSS类名。像 var myEvents = [ {

我需要在创建完整日历中的每个事件时添加自定义颜色,就像在谷歌日历中一样-用户可以自定义事件的文本和背景颜色


您知道最适合完整日历的颜色选择器插件吗?

它在完整日历文档中。。。现在好像是在下降。您可以将每个事件的颜色作为阵列元素传递:

'backgroundColor' => "#36c",
'borderColor' => "#36c",
'textColor' => "#36c",

没有插件需要

您可以为新事件设置CSS类名。像

var myEvents = [
  {
    title: 'XMas',
    start: theDate,
    className : 'holiday'
  }
];
然后,要更新给定事件类型的样式,请执行以下操作:

#calendar .holiday,
#calendar .holiday div,
#calendar .holiday span {
  background-color: #6d4d47;
  color: #ffffff;
  border-color: #6d4d47;
  font-size: 12px;
}