nylas-buffer-time
Overview
The nylas-buffer-time
component is a UI component that allows users to set buffer time before and after an event.
Version | 1.1.0-canary.14 |
Install (React) | npm install @nylas/react |
Import (React) | import { NylasBufferTime } from '@nylas/react'; |
Properties
Property | Attribute | Description | Type | Default |
---|---|---|---|---|
buffer | — | The buffer time | { before: number; after: number; } | { before: 0, after: 0 } |
name | name | The name of the calendar picker. | string | 'buffer-time' |
Events
Event | Description | Type |
---|---|---|
valueChanged | This event is fired when the selected buffer time is changed. | CustomEvent<{ value: string; name: string; valueChanged?: ((event: CustomEvent<{ value: string; name: string; }>) => void) | undefined; }> |
Shadow Parts
Part | Description |
---|---|
"nbt" | The buffer time container |
"nbt__body" | The body of the buffer time |
"nbt__dropdown-after" | The dropdown container for the after buffer time |
"nbt__dropdown-before" | The dropdown container for the before buffer time |
"nbt__dropdown-button-after" | The dropdown button for the after buffer time |
"nbt__dropdown-button-before" | The dropdown button for the before buffer time |
"nbt__dropdown-content-after" | The dropdown content for the after buffer time |
"nbt__dropdown-content-before" | The dropdown content for the before buffer time |
"nbt__header" | The header of the buffer time |
"nbt__preview" | The preview container |
Built with StencilJS