nylas-event-title

Overview

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

Version1.3.3
Install (React)npm install @nylas/react
Import (React)import { NylasEventTitle } from '@nylas/react';
Import (CDN)<script type="module"> import { defineCustomElement } from "https://cdn.jsdelivr.net/npm/@nylas/web-elements@latest/dist/cdn/nylas-event-title/nylas-event-title.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
eventTitleThe title of the event from the cofiguration.string | undefinedthis.selectedConfiguration?.event_booking?.title
nameThe name attribute of this component.string'title'
selectedConfigurationThe selected configConfiguration | undefinedundefined

Events

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

Shadow Parts

PartDescription
"net"The event title container
"net__dropdown-content"The token options container
"net__title"The event title input

Built with StencilJS