nylas-reminder-time
Overview
The nylas-reminder-time
component is a form input for the reminder time before an event.
Version | 1.1.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' |
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__dropdown-button" | The dropdown button for the reminder time increment |
"nrt__dropdown-content" | The dropdown content for the reminder time increment |
"nrt__input_dropdown" | The input dropdown container for the reminder time minutes |
"nrt__input_dropdown-content" | The dropdown content for the input reminder time minutes |
"nrt__input_dropdown-input" | The input for the reminder time minutes |
Built with StencilJS