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
| Parameter | Type |
|---|---|
context | BrowserContext |
siteUrl | string |
eventId | number |
changes | EventChanges |
Returns
Promise<{
changed: string;
event: CalendarEvent;
}>