Back to Fullcalendar

eventSources

_docs-v3/event-data/eventSources.md

latest530 B
Original Source

A way to specify multiple event sources.

<div class='spec' markdown='1'> Array </div>

This option is used instead of the events option.

You can put any number of event arrays, functions, JSON feed URLs, or full-out Event Source Objects into the eventSources array.

Here is an example calendar that displays two JSON feeds:

js
$('#calendar').fullCalendar({
  eventSources: [
    '/feed1.php',
    '/feed2.php'
  ]
});