nylas-event-calendar
Properties
Property | Attribute | Description | Type | Default |
---|---|---|---|---|
calendars | The calendars prop | Calendar[] | undefined | undefined | |
currentUser | The current user prop | undefined | { id: string; email: string; name?: string | undefined; provider?: string | undefined; } | undefined | |
groupEvents | The group events prop | GroupEventAPIData[] | undefined | undefined | |
isLoading | The is loading prop | boolean | undefined | undefined | |
masterGroupEvents | The master group events prop | undefined | { [x: string]: EventDetails; } | undefined | |
selectedLanguage | The selected language. | LANGUAGE_CODE.de | LANGUAGE_CODE.en | LANGUAGE_CODE.es | LANGUAGE_CODE.fr | LANGUAGE_CODE.ja | LANGUAGE_CODE.ko | LANGUAGE_CODE.nl | LANGUAGE_CODE.sv | LANGUAGE_CODE.zh | undefined | undefined |
Standalone Props
ⓘ NOTE: The following props are automatically configured when used within nylas-scheduler-editor. Set these props manually only if you’re using the component independently.
Property | Attribute | Description | Type | Default |
---|---|---|---|---|
name | The name of the component | string | 'page-name' | |
selectedConfiguration | The selected configuration | GroupConfiguration | undefined | undefined |
Events
Event | Description | Type |
---|---|---|
calendarViewChanged | CustomEvent<{ startTime: number; endTime: number; }> | |
createGroupEvent | CustomEvent<{ title: string; description: string; location: string; eventTimeslot: { when: { start_time: number; end_time: number; start_timezone: string; end_timezone: string; }; recurrence: string[]; }; eventCapacity: number; conferencing?: Conference | undefined; participants: { name: string; email: string; is_organizer?: boolean | undefined; }[]; }> | |
deleteGroupEvent | CustomEvent<{ data: GroupEventAPIData; action: "this" | "future" | "all"; }> | |
fetchMasterGroupEvent | CustomEvent<string> | |
groupEventSelected | CustomEvent<GroupEventAPIData> | |
importGroupEvent | CustomEvent<{ event_id: string; calendar_id: string; }> | |
previosNextClicked | CustomEvent<{ direction: "next" | "prev"; view: "day" | "week" | "month"; currentViewRange: { startTime: number; endTime: number; }; }> | |
saveGroupEventChanges | CustomEvent<{ data: GroupEventAPIData; action: "this" | "future" | "all"; }> | |
setCalendarViewDateRange | CustomEvent<{ startTime: number; endTime: number; }> |
Shadow Parts
Part | Description |
---|---|
"nfbf__button-outline" | |
"nfbf__cancel-cta" | |
"nfbf__reschedule-cta" | |
"nfbf__title" |
Built with StencilJS