A standard JavaScript object that FullCalendar uses to store information about a calendar event. Here are its properties:
id |
String/Integer. Optional
Uniquely identifies the given event. Different instances of repeating events
should all have the same |
---|---|
title |
String. Required. The text on an event's element |
allDay |
Whether an event occurs at a specific time-of-day. This property affects whether an event's time is shown. Also, in the agenda views, determines if it is displayed in the "all-day" section. If this value is not explicitly specified, allDayDefault will be used if it is defined.
If all else fails, FullCalendar will try to guess. If either the
Don't include quotes around your |
start |
The date/time an event begins. Required. A Moment-ish input, like an ISO8601 string. Throughout the API this will become a real Moment object. |
end |
The exclusive date/time an event ends. Optional. A Moment-ish input, like an ISO8601 string. Throughout the API this will become a real Moment object. It is the moment immediately after the event has ended. For example, if the last full day of an event is Thursday, the exclusive end of the event will be 00:00:00 on Friday! |
url |
String. Optional. A URL that will be visited when this event is clicked by the user. For more information on controlling this behavior, see the eventClick callback. |
className |
String/Array. Optional. A CSS class (or array of classes) that will be attached to this event's element. |
editable |
Overrides the master editable option for this single event. |
startEditable |
Overrides the master eventStartEditable option for this single event. |
durationEditable |
Overrides the master eventDurationEditable option for this single event. |
rendering |
Allows alternate rendering of the event, like background events.
Can be empty, |
overlap |
Overrides the master eventOverlap option for this single event.
If |
constraint |
an event ID, Overrides the master eventConstraint option for this single event. |
source |
Event Source Object. Automatically populated. A reference to the event source that this event came from. |
color |
Sets an event's background and border color just like the calendar-wide eventColoroption. |
backgroundColor |
Sets an event's background color just like the calendar-wide eventBackgroundColoroption. |
borderColor |
Sets an event's border color just like the the calendar-wide eventBorderColor option. |
textColor |
Sets an event's text color just like the calendar-wide eventTextColor option. |