nylas-event-location

Overview

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

Version1.1.4
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

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