nylas-event-description

Overview

The nylas-event-description component is a form input for the description of an event.

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

Events

EventDescriptionType
valueChangedEvent emitted when the event description changes.CustomEvent<{ value: string; name: string; }>

Shadow Parts

PartDescription
"nedesc"The event description container
"nedesc__textarea"The event description textarea

Built with StencilJS