nylas-reminder-time
Overview
The nylas-reminder-time
component is a form input for the reminder time before an event.
Version | 1.3.4 |
Install (React) | npm install @nylas/react |
Import (React) | import { NylasReminderTime } from '@nylas/react'; |
Import (CDN) | <script type="module">
import { defineCustomElement } from "https://cdn.jsdelivr.net/npm/@nylas/web-elements@latest/dist/cdn/nylas-reminder-time/nylas-reminder-time.es.js";
defineCustomElement();
</script> |
Properties
Property | Attribute | Description | Type | Default |
---|---|---|---|---|
eventReminderTimeMinutes | The event reminder time in minutes as set in the configuration. | number | undefined | undefined | |
name | The name of the reminder time. Default is ‘reminder time’. | string | 'reminder-time' | |
selectedLanguage | The selected language. | LANGUAGE_CODE.de | LANGUAGE_CODE.en | LANGUAGE_CODE.es | LANGUAGE_CODE.fr | LANGUAGE_CODE.ja | LANGUAGE_CODE.ko | LANGUAGE_CODE.nl | LANGUAGE_CODE.sv | LANGUAGE_CODE.zh | undefined | undefined |
Events
Event | Description | Type |
---|---|---|
valueChanged | Event emitted when the event reminder time changes. | CustomEvent<{ value: string; name: string; }> |
Shadow Parts
Part | Description |
---|---|
"nrt" | The event reminder container |
"nrt__number-dropdown" | The number dropdown container |
"nrt__number-dropdown-button" | The number dropdown button |
"nrt__number-dropdown-content" | The number dropdown content |
"nrt__period-dropdown" | The period dropdown container |
"nrt__period-dropdown-button" | The period dropdown button |
"nrt__period-dropdown-content" | The period dropdown content |
"nrt__time-period-selector" | The time period selector |
Built with StencilJS