nylas-min-cancellation-notice

Overview

The nylas-min-cancellation-notice component is a form input for the minimum period of notice (minutes) that a guest must provide to cancel a booked event.

Version1.3.3
Install (React)npm install @nylas/react
Import (React)import { NylasMinCancellationNotice } from '@nylas/react';
Import (CDN)<script type="module"> import { defineCustomElement } from "https://cdn.jsdelivr.net/npm/@nylas/web-elements@latest/dist/cdn/nylas-min-cancellation-notice/nylas-min-cancellation-notice.es.js"; defineCustomElement(); </script>

Example


Properties

PropertyAttributeDescriptionTypeDefault
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
minCancellationNoticeThe minimum cancellation notice (minutes) stored in the configurationnumber | undefinedundefined
nameThe name of the min cancellation notice input.string'min-cancellation-notice'
selectedConfigurationThe selected configConfiguration | undefinedundefined

Events

EventDescriptionType
valueChangedThis event is fired when the value of the min cancellation notice changes.CustomEvent<{ value: string; name: string; }>

Shadow Parts

PartDescription
"nmcn"The minimum cancellation notice container
"nmcn__number-dropdown"The number dropdown container
"nmcn__number-dropdown-button"The number dropdown button
"nmcn__number-dropdown-content"The number dropdown content
"nmcn__period-dropdown"The period dropdown container
"nmcn__period-dropdown-button"The period dropdown button
"nmcn__period-dropdown-content"The period dropdown content

Built with StencilJS