nylas-event-info
Overview
The nylas-event-info
component is an input form for event information such as title, description, duration, location.
This component is a container for the nylas-event-title
, nylas-event-description
, nylas-event-duration
, and nylas-event-location
components.
<nylas-event-info>
<div slot="inputs">
<nylas-event-title></nylas-event-title>
<nylas-event-description></nylas-event-description>
<nylas-event-duration></nylas-event-duration>
<nylas-lcation-component></nylas-event-location>
</div>
</nylas-event-info>
Version | 1.3.3 |
Install (React) | npm install @nylas/react |
Import (React) | import { NylasEventInfo } from '@nylas/react'; |
Import (CDN) | <script type="module">
import { defineCustomElement } from "https://cdn.jsdelivr.net/npm/@nylas/web-elements@latest/dist/cdn/nylas-event-info/nylas-event-info.es.js";
defineCustomElement();
</script> |
Properties
Property | Attribute | Description | Type | Default |
---|---|---|---|---|
selectedLanguage | The 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 | undefined | undefined |
Slots
Slot | Description |
---|---|
"inputs" | The event information inputs. This includes the event title, description, duration, and location components. |
Shadow Parts
Part | Description |
---|---|
"nei__title" |
Built with StencilJS