mirror of
https://github.com/wassname/fullcalendar.git
synced 2026-06-27 16:10:13 +08:00
25 lines
561 B
Plaintext
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'
|
|
]
|
|
});
|