Files

25 lines
561 B
Plaintext

eventSources *1.2*
==================
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](events_array), [functions](events_function),
[JSON feed URLs](events_json_feed), or full-out [Event Source Objects](Event_Source_Object)
into the `eventSources` array.
Here is an example calendar that displays two [JSON feeds](events_json_feed):
$('#calendar').fullCalendar({
eventSources: [
'/feed1.php',
'/feed2.php'
]
});