Event Model
How events are parsed, represented and changed, including recurring events.
Event Parsing Every property you can set on the plain event objects you give the calendar.Event Object A JavaScript object that FullCalendar uses to store information about a calendar event.Recurring Events A recurring event is an event that happens more than once, on a repeating schedule.RRule Plugin The RRule plugin is a connector to the rrule js library.
Event Data Parsing
eventDataTransform A hook for transforming custom data into a standard Event object.defaultAllDay Determines the default value for each Event Object's allDay property when it is unspecified.defaultAllDayEventDuration A fallback duration for all-day Event Objects without a specified end value.defaultTimedEventDuration A fallback duration for timed Event Objects without a specified end value.forceEventDuration A flag to force assignment of an event's end if it is unspecified.
Methods
Calendar::getEvents Retrieves events that FullCalendar has in memory.Calendar::getEventById Returns a single event with the matching id.Calendar::addEvent Adds a new event to the calendar.Event::setProp Modifies any of the non-date-related properties of an Event Object.Event::setExtendedProp Modifies a single property in an Event Object's extendedProps hash.Event::setStart Sets an event's start date.Event::setEnd Sets an event's end date.Event::setDates Sets an event's start date, end date, and allDay properties at the same time.Event::setAllDay Sets whether an event is considered all-day.Event::moveStart Will move an event's start date by a specific period of time.Event::moveEnd Will move an event's end date by a specific period of time.Event::moveDates Will move an event's start and end dates by a specific period of time.Event::formatRange Formats an event's dates into a string.Event::remove Removes an event from the calendar.Event::getResources Gets the Resources associated with the given event.Event::setResources Sets the Resources associated with the given event.Event::toPlainObject Serializes an Event API Object to a plain object that would be fit for JSON.stringify.