nylas-confirmation-email
Overview
The nylas-confirmation-email
component is a UI component that allows users to set buffer time before and after an event.
Version | 1.3.3 |
Install (React) | npm install @nylas/react |
Import (React) | import { NylasConfirmationEmail } from '@nylas/react'; |
Import (CDN) | <script type="module">
import { defineCustomElement } from "https://cdn.jsdelivr.net/npm/@nylas/web-elements@latest/dist/cdn/nylas-confirmation-email/nylas-confirmation-email.es.js";
defineCustomElement();
</script> |
Example
Properties
Property | Attribute | Description | Type | Default |
---|---|---|---|---|
isOpen | Is the confirmation email card open | boolean | false | |
selectedLanguage | The selected language. | LANGUAGE_CODE.de | LANGUAGE_CODE.en | LANGUAGE_CODE.es | LANGUAGE_CODE.fr | LANGUAGE_CODE.ja | LANGUAGE_CODE.nl | LANGUAGE_CODE.sv | LANGUAGE_CODE.zh | undefined | undefined |
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 |
---|---|---|---|---|
confirmationEmailTemplate | The confirmation email template data to display | EmailTemplate | {} as EmailTemplate | |
name | The name of the component | string | 'confirmation-email-template' | |
participants | List of participants | Participant[] | [] | |
selectedConfiguration | The selected config | Configuration | undefined | undefined |
Events
Event | Description | Type |
---|---|---|
valueChanged | This event is fired when the email reminders change. | CustomEvent<{ value: string; name: string; valueChanged?: ((event: CustomEvent<{ value: string; name: string; }>) => void) | undefined; }> |
Shadow Parts
Part | Description |
---|---|
"nce" | The nylas-confirmation-email container |
"nce__body" | The body of the event communication section |
"nce__confirmation-email-toggle--container" | The confirmation email drawer toggle container |
"nce__header" | The header of the event communication section |
"nce__input-image-url" | The input image URL container |
"nce__summary" | The confirmation card summary container |
"nce__tab-heading" | The nylas-confirmation-email main tab heading |
Built with StencilJS