nylas-limit-future-bookings
Overview
The nylas-limit-future-bookings
component is a form input for the number of days in the future a guest is allowed to book an event.
Version | 1.1.0-canary.14 |
Install (React) | npm install @nylas/react |
Import (React) | import { NylasLimitFutureBookings } from '@nylas/react'; |
Properties
Property | Attribute | Description | Type | Default |
---|---|---|---|---|
availableDaysInFuture | available-days-in-future | The number of days into the future that invitees will see availability, as set in the configuration. | number | undefined | undefined |
name | name | The name of the limit future bookings input. | string | 'limit-future-bookings' |
selectedConfiguration | — | The selected config | Configuration | undefined | undefined |
Events
Event | Description | Type |
---|---|---|
valueChanged | Event emitted when the future booking limit changes. | CustomEvent<{ value: string; name: string; }> |
Shadow Parts
Part | Description |
---|---|
"nlfb" | The limit future bookings container |
"nlfb__number-dropdown" | The number dropdown container |
"nlfb__number-dropdown-button" | The number dropdown button |
"nlfb__number-dropdown-content" | The number dropdown content |
"nlfb__period-dropdown" | The period dropdown container |
"nlfb__period-dropdown-button" | The period dropdown button |
"nlfb__period-dropdown-content" | The period dropdown content |
Built with StencilJS