The calendar channel the events belong to.
Readonly
cacheThis cache of the manager.
Readonly
channelThe calendar channel the events belong to.
Readonly
clientThe client the manager belongs to.
Create a calendar event in the channel.
The created calendar event.
calanderEvents.create({ name: 'Event!' });
The payload of the calendar event.
Delete a calendar event from the channel.
calanderEvents.delete(calendarEvent);
The calendar event to delete.
Edit a calendar event in the channel.
The edited calendar event.
calanderEvents.edit(calendarEvent, { name: 'Event!' });
The calendar event to edit.
The payload of the calendar event.
Fetch a calendar event from the channel, or cache.
The fetched calendar event.
calanderEvents.fetch(calendarEvent);
The calendar event to fetch.
Optional
options: FetchOptionsThe options to fetch the calendar event with.
Fetch calendar events from the channel.
The fetched calendar events.
calanderEvents.fetch();
Optional
options: CalendarEventFetchManyOptionsThe options to fetch calendar events with.
Set the maximum cache size of the manager.
The manager.
manager.setMaxCache(100);
The maximum size of the cache.
The manager of calendar events that belong to a calendar channel.
Example