nylas-event-timeslot

Overview

The nylas-event-timeslot component is a UI component that allows users to select the event type for the scheduler configuration.

Version1.3.6
Install (React)npm install @nylas/react
Import (React)import { NylasEventTimeslot } from '@nylas/react';
Import (CDN)You do not need to individually import the component, just import the parent component either nylas-scheduling or nylas-scheduler-editor.

Properties

PropertyAttributeDescriptionTypeDefault
initialValueThe initial value of the event timeslot.undefined | { when: { start_time: number; end_time: number; start_timezone: string; end_timezone: string; }; recurrence: string[]; }undefined
selectedLanguageThe selected language.LANGUAGE_CODE.de | LANGUAGE_CODE.en | LANGUAGE_CODE.es | LANGUAGE_CODE.fr | LANGUAGE_CODE.ja | LANGUAGE_CODE.ko | LANGUAGE_CODE.nl | LANGUAGE_CODE.sv | LANGUAGE_CODE.zh | undefinedundefined

Standalone Props

ⓘ NOTE: The following props are automatically configured when used within nylas-scheduler-editor. Set these props manually only if you’re using the component independently.
PropertyAttributeDescriptionTypeDefault
nameThe name of the componentstring'event-timeslot'

Events

EventDescriptionType
valueChangedThis event is fired when the value of the event location changes.CustomEvent<{ value: string; name: string; }>

Shadow Parts

PartDescription
"netimeslot"
"netimeslot__custom-recurrence"
"netimeslot__date-time-input"
"netimeslot__date-time-picker"
"netimeslot__recurrence-end"
"netimeslot__recurrence-options"
"netimeslot__recurrence-type"
"netimeslot__time-range"

Built with StencilJS