nylas-booking-confirmation-redirect
Overview
The nylas-booking-confirmation-redirect
component is a UI component that allows the user to choose a custom redirect URL after a booking is confirmed.
Version | 1.1.4 |
Install (React) | npm install @nylas/react |
Import (React) | import { NylasBookingConfirmationRedirect } from '@nylas/react'; |
Import (CDN) | <script type="module">
import { defineCustomElement } from "https://cdn.jsdelivr.net/npm/@nylas/web-elements@latest/dist/cdn/nylas-booking-confirmation-redirect/nylas-booking-confirmation-redirect.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.
Property | Attribute | Description | Type | Default |
---|---|---|---|---|
name | The name of the confirmation redirect link. | string | 'confirmation-redirect' | |
redirectUrl | The custom redirect URL. | string | '' | |
redirectUrlErrorMessage | The custom redirect URL error message | string | '' | |
selectedConfiguration | The selected config | Configuration | undefined | undefined |
Events
Event | Description | Type |
---|---|---|
valueChanged | This event is fired when the current redirect URL changes and is valid. | CustomEvent<{ value: string; name: string; valueChanged?: ((event: CustomEvent<{ value: string; name: string; }>) => void) | undefined; }> |
Shadow Parts
Part | Description |
---|---|
"ic__input_wrapper:" | |
"nbcr" | The booking redirect container |
"nbcr__dropdown" | The dropdown container |
"nbcr__dropdown-button" | The dropdown button |
"nbcr__dropdown-content" | The dropdown content |
"nbcr__header" | The header of the booking redirect |
"nbcr__input-textfield" | The input field content |
Built with StencilJS