nylas-reminder-time

Overview

The nylas-reminder-time component is a form input for the reminder time before an event.

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

PropertyAttributeDescriptionTypeDefault
eventReminderTimeMinutesThe event reminder time in minutes as set in the configuration.number | undefinedundefined
nameThe name of the reminder time. Default is ‘reminder time’.string'reminder-time'

Events

EventDescriptionType
valueChangedEvent emitted when the event reminder time changes.CustomEvent<{ value: string; name: string; }>

Shadow Parts

PartDescription
"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