question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Method to remove all event sources

See original GitHub issue

Originally reported on Google Code with ID 678

I would like to have a simple public method that knows how to call removeEventSource
on each of the objects in the eventSources array.

This allows me to make a simple call and clean up the calendar in preparation for a
new set of event sources.

Also it would be great to set an array of event sources after the calendar has been
inited, rather than adding srcs in a loop.

thx

Reported by vnehess on 2010-10-20 05:48:47

Imported with 16 stars.

Issue Analytics

  • State:closed
  • Created 8 years ago
  • Comments:20 (19 by maintainers)

github_iconTop GitHub Comments

2reactions
arshawcommented, Aug 19, 2015
it works I use it like this:

$('#calendar').fullCalendar('removeEventSources');  

Thanks! 

Reported by gugli100 on 2012-02-10 08:01:42

0reactions
erikbaancommented, Feb 20, 2022

@arshaw could you remove my mail address ? https://github.com/fullcalendar/fullcalendar/issues/948#issuecomment-132547457 Probably some github glitch caused it to expose in the past.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Removing all the eventSources in fullCalendar - Stack Overflow
You can simply call: $('#calendar').fullCalendar('removeEventSources');.
Read more >
removeEventSources - Docs v3 - FullCalendar
Dynamically removes all event sources, or multiple specific event sources. .fullCalendar( 'removeEventSources', optionalSourcesArray ).
Read more >
Removing all eventSources in jQuery FullCalendar plugin
I'm trying to remove all the event sources in the fullcalendar plugin. I'm currently using a combination of. removeEvents (method)
Read more >
Remove-EventLog (Microsoft.PowerShell.Management)
The Remove-EventLogcmdlet deletes an event log file from a local or remote computer and unregisters all its event sources for the log.
Read more >
EventTarget.removeEventListener() - Web APIs | MDN
The removeEventListener() method of the EventTarget interface removes an event listener previously registered with EventTarget.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found