视图之View Option Hash
优质
小牛编辑
137浏览
2023-12-01
dragOpacitytitleFormatcolumnFormattimeFormat。
{ month: // month view week: // basicWeek & agendaWeek views day: // basicDay & agendaDay views agenda: // agendaDay & agendaWeek views agendaDay: // agendaDay view agendaWeek: // agendaWeek view basic: // basicWeek & basicDay views basicWeek: // basicWeek view basicDay: // basicDay view '': // (an empty string) 当其他都不匹配的时候 }
举个例子,如果你想设置月视图的dragOpacity为0.2,其他视图全部0.5,可以这样初始化:
$('#calendar').fullCalendar({ dragOpacity: { month: .2, '' : .5 } });
官方英文文档:http://arshaw.com/fullcalendar/docs/views/View_Option_Hash/