nylas-cancellation-policy

Overview

The nylas-cancellation-policy component is a form input for the cancellation policy message of an event.

Version1.1.4
Install (React)npm install @nylas/react
Import (React)import { NylasCancellationPolicy } from '@nylas/react';
Import (CDN)<script type="module"> import { defineCustomElement } from "https://cdn.jsdelivr.net/npm/@nylas/web-elements@latest/dist/cdn/nylas-cancellation-policy/nylas-cancellation-policy.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
cancellationPolicyThe cancellation policy stored in the configurationstring | undefinedundefined
nameThe name of the cancellation policy input.string'cancelation-policy'
selectedConfigurationThe selected configConfiguration | undefinedundefined

Events

EventDescriptionType
valueChangedEvent emitted when the cancellation policy message changes.CustomEvent<{ value: string; name: string; }>

Shadow Parts

PartDescription
"ncpolicy"The cancellation policy container
"ncpolicy__textarea"The cancellation policy textarea

Built with StencilJS