nylas-participant-booking-calendars

Overview

The nylas-participant-booking-calendars component is a form input for selecting calendars to check availability for participants.

Version1.1.4
Install (React)npm install @nylas/react
Import (React)import { NylasParticipantBookingCalendars } from '@nylas/react';
Import (CDN)<script type="module"> import { defineCustomElement } from "https://cdn.jsdelivr.net/npm/@nylas/web-elements@latest/dist/cdn/nylas-participant-booking-calendars/nylas-participant-booking-calendars.es.js"; defineCustomElement(); </script>

Example


Properties

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.
PropertyAttributeDescriptionTypeDefault
calendarsThe calendars to choose from for the organizer / logged in user.Calendar[] | undefinedundefined
nameThe name of the participants custom availability.string'participant-booking-calendars'
participantOptionsThe participant options passed in the additionalParticipants prop from the nylas-scheduler-editor component.AdditionalParticipant[] | undefinedundefined
participantsThe participants selected in the add participants section.Participant[]`this.selectedConfiguration?.participants
selectedConfigurationThe selected configConfiguration | undefinedundefined

Events

EventDescriptionType
valueChangedThis event is fired when the participants custom availability changes.CustomEvent<{ value: string; name: string; }>

Shadow Parts

PartDescription
"npbc"The participant booking calendars host.
"npbc__content"The content.
"npbc__header"The header.
"npbc__participant-container"The participant container.
"npbc__participant-title"The participant title.
"npbc__participant-toggle-container"The participant toggle container.

Built with StencilJS