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.1.4 |
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 |
---|---|---|---|---|
confirmationEmailTemplate | The confirmation email template data to display | EmailTemplate | {} as EmailTemplate | |
isOpen | Is the confirmation email card open | boolean | false | |
name | The name of the component | string | 'confirmation-email-template' | |
participants | List of participants | Participant[] | [] |
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