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.

Version1.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.
PropertyAttributeDescriptionTypeDefault
nameThe name of the confirmation redirect link.string'confirmation-redirect'
redirectUrlThe custom redirect URL.string''
redirectUrlErrorMessageThe custom redirect URL error messagestring''
selectedConfigurationThe selected configConfiguration | undefinedundefined

Events

EventDescriptionType
valueChangedThis 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

PartDescription
"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