FullCalendar
These docs are a work in progress. Learn about v7 updates
Latest:  v7.0.0-beta.7
Event Sources
    • events (as an array)
    • events (as a json feed)
    • events (as a function)
    • events from Google Calendar
    • events from an iCalendar feed
    • Event Source Object
    • eventSources
    • eventSourceSuccess
    • eventSourceFailure
    • initialEvents
  • Event Requesting

    • startParam
    • endParam
    • timeZoneParam
    • lazyFetching
    • loading
  • Methods

    • Calendar::getEventSources
    • Calendar::getEventSourceById
    • Calendar::addEventSource
    • Calendar::refetchEvents
    • EventSource::refetch
    • EventSource::remove
edit doc

Calendar::addEventSource

Dynamically adds an event source.

calendar.addEventSource( source )

Source may be an Array/URL/Function just as in the events option. Events will be immediately fetched from this source and placed on the calendar.