nylas-event-duration
Overview
The nylas-event-duration
component is a form input for the duration of an event.
Version | 1.1.0-canary.14 |
Install (React) | npm install @nylas/react |
Import (React) | import { NylasEventDuration } from '@nylas/react'; |
Properties
Property | Attribute | Description | Type | Default |
---|---|---|---|---|
eventDurationMinutes | event-duration-minutes | The event duration in minutes as set in the configuration. | number | undefined | undefined |
name | name | The name of the event duration. Default is ‘duration’. | string | 'duration' |
selectedConfiguration | — | The selected config | Configuration | undefined | undefined |
Events
Event | Description | Type |
---|---|---|
valueChanged | Event emitted when the event duration changes. | CustomEvent<{ value: string; name: string; }> |
Shadow Parts
Part | Description |
---|---|
"ned" | The event duration container |
"ned__dropdown" | The dropdown container for the duration increment |
"ned__dropdown-button" | The dropdown button for the duration increment |
"ned__dropdown-content" | The dropdown content for the duration increment |
"ned__input_dropdown" | The input dropdown container for the duration minutes |
"ned__input_dropdown-content" | The dropdown content for the input duration minutes |
"ned__input_dropdown-input" | The input for the duration minutes |
Built with StencilJS