Event Sources
Where the calendar gets its events: arrays, JSON feeds, functions, Google Calendar and iCalendar.
events (as an array) An array of Event Objects that will be displayed on the calendar.events (as a json feed) A URL of a JSON feed that the calendar will fetch Event Objects from.events (as a function) A custom function for programmatically generating Events.events from Google Calendar FullCalendar can display events from a public Google Calendar.events from an iCalendar feed FullCalendar can display events from a public iCalendar feed.Event Source Object An "event source" is anything that provides FullCalendar with data about events.eventSources A way to specify multiple event sources.eventSourceSuccess A function that gets called when fetching succeeds.eventSourceFailure Called when any of the event sources fails.initialEvents An initial array of events, which the calendar won't update if the value later changes.
Event Requesting
startParam A parameter of this name will be sent to each JSON event feed.endParam A parameter of this name will be sent to each JSON event feed.timeZoneParam A parameter of this name will be sent to each JSON event feed.lazyFetching Determines when event fetching should occur.loading Triggered when event or resource fetching starts/stops.
Methods
Calendar::getEventSources Retrieves all Event Source Objects.Calendar::getEventSourceById Retrieves a specific Event Source Object.Calendar::addEventSource Dynamically adds an event source.Calendar::refetchEvents Refetches events from all sources and rerenders them on the screen.EventSource::refetch Causes this event source to fetch its event data again.EventSource::remove Removes all events associated with this source and prevents it from being fetched again.