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.

Version1.1.0-canary.14
Install (React)npm install @nylas/react
Import (React)import { NylasBufferTime } from '@nylas/react';

Properties

PropertyAttributeDescriptionTypeDefault
bufferThe buffer time{ before: number; after: number; }{ before: 0, after: 0 }
namenameThe name of the calendar picker.string'buffer-time'

Events

EventDescriptionType
valueChangedThis 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

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