nylas-event-location

Overview

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

Version1.3.3
Install (React)npm install @nylas/react
Import (React)import { NylasEventLocation } from '@nylas/react';
Import (CDN)<script type="module"> import { defineCustomElement } from "https://cdn.jsdelivr.net/npm/@nylas/web-elements@latest/dist/cdn/nylas-event-location/nylas-event-location.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
conferenceProvidersThe conference providers where the key is the provider name (‘zoom’) and the value is the grant id. We currently support same provider (‘google’, ‘microsoft’) for all participants and ‘zoom’ for cross-provider conferencing.undefined | { [x: string]: string; }undefined
currentUserThe current userundefined | { id: string; email: string; name?: string | undefined; provider?: string | undefined; }undefined
eventConferencingThe event conferencing stored in the configurationConference | undefinedundefined
eventLocationThe event location stored in the configurationstring | undefinedundefined
nameThe name of the event location input.string'location'
selectedConfigurationThe selected configConfiguration | undefinedundefined
userProviderThe users providerstring | undefinedundefined

Events

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

Shadow Parts

PartDescription
"nel"The event location container
"nel__dropdown"The dropdown container
"nel__dropdown-button"The dropdown button
"nel__dropdown-content"The dropdown content
"nel__location"The event location input

Built with StencilJS