Legacy docs (v1–v6)
These docs are for an old release. View the v7 docs
edit doc view .md

removeEventSources

Dynamically removes all event sources, or multiple specific event sources.

.fullCalendar( ‘removeEventSources’, optionalSourcesArray )

If optionalSourcesArray is not given, all event sources will be removed.

The optionalSourcesArray parameter is an array of identifier items, which can be either an event source’s id/Array/URL/Function or the full Event Source Object.

Events from the specified sources will be immediately removed from the calendar, resulting in a single re-rendering.