Saltar al contenido principal

Function: updateEvent()

function updateEvent(
context,
siteUrl,
eventId,
changes
): Promise<{
changed: string;
event: CalendarEvent;
}>;

Defined in: areas/calendar/calendar.ts:170

Changes a calendar event through the calendar's own form, opened on it: only what's given changes. A new start keeps the event's length unless a new one is given. Returns the event as the calendar has it afterwards.

Parameters​

ParameterType
contextBrowserContext
siteUrlstring
eventIdnumber
changesEventChanges

Returns​

Promise<{ changed: string; event: CalendarEvent; }>