nylas-customize-booking-settings

Overview

The nylas-customize-booking-settings component is a UI component that displays the booking calendar picker.

Version1.1.3
Install (React)npm install @nylas/react
Import (React)import { NylasCustomizeBookingSettings } from '@nylas/react';

Properties

PropertyAttributeDescriptionTypeDefault
defaultHideAdditionalGuestsdefault-hide-additional-guests<span style=“color:red”>[DEPRECATED]</span> The default additional guests hidden setting as set in the configuration.<br/><br/>booleanthis.selectedConfiguration?.scheduler?.hide_additional_guests ?? false
defaultHideCancellationOptionsdefault-hide-cancellation-options<span style=“color:red”>[DEPRECATED]</span> The default hide cancellation options setting as set in the configuration.<br/><br/>booleanthis.selectedConfiguration?.scheduler?.hide_cancellation_options ?? false
defaultHideReschedulingOptionsdefault-hide-rescheduling-options<span style=“color:red”>[DEPRECATED]</span> The default hide rescheduling options setting as set in the configuration.<br/><br/>booleanthis.selectedConfiguration?.scheduler?.hide_rescheduling_options ?? false
namenameThe name of the calendar picker.string'customize-booking-settings'
selectedConfigurationThe selected configConfiguration | undefinedundefined

Events

EventDescriptionType
valueChangedThis event is fired when the selected booking calendar changes.CustomEvent<{ value: string; name: string; valueChanged?: ((event: CustomEvent<{ value: string; name: string; }>) => void) | undefined; }>

Shadow Parts

PartDescription
","
"ncbs"The booking calendar picker container
"ncbs__additional_guests"The additional guests setting
"ncbs__cancellation_options"The cancellation options setting
"ncbs__header"The header of the booking calendar picker
"ncbs__rescheduling_options"The rescheduling options setting
"ncbs__settings"The settings container
"ncbs__settings-div"The div inside the settings container that contains the checkbox and tooltip for each setting

Built with StencilJS