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.

Version1.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

PropertyAttributeDescriptionTypeDefault
isOpenIs the confirmation email card openbooleanfalse
selectedLanguageThe 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 | undefinedundefined

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
confirmationEmailTemplateThe confirmation email template data to displayEmailTemplate{} as EmailTemplate
nameThe name of the componentstring'confirmation-email-template'
participantsList of participantsParticipant[][]
selectedConfigurationThe selected configConfiguration | undefinedundefined

Events

EventDescriptionType
valueChangedThis event is fired when the email reminders change.CustomEvent<{ value: string; name: string; valueChanged?: ((event: CustomEvent<{ value: string; name: string; }>) => void) | undefined; }>

Shadow Parts

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