# clientEvents

> FullCalendar v3 documentation, for an old release. Web version: https://legacy.fullcalendar.io/v3/clientEvents
>
> Latest version (v7): https://fullcalendar.io/docs/Calendar-getEvents.md

Retrieves events that FullCalendar has in memory.

<div class='spec' markdown='1'>
.fullCalendar( 'clientEvents' [, *idOrFilter* ] ) -> Array
</div>

This method will return an array of [Event Objects](https://legacy.fullcalendar.io/v3/event-object.md) that FullCalendar has stored in client-side memory.

If `idOrFilter` is omitted, *all* events will be returned.

If `idOrFilter` is an ID, all events with the same ID will be returned.

`idOrFilter` may also be a filter function that accepts one [Event Object](https://legacy.fullcalendar.io/v3/event-object.md) argument and returns `true` if it should be included in the result set.
