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.
Version | 1.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
Property | Attribute | Description | Type | Default |
---|---|---|---|---|
initialValue | The initial value of the event timeslot. | undefined | { when: { start_time: number; end_time: number; start_timezone: string; end_timezone: string; }; recurrence: string[]; } | undefined | |
selectedLanguage | The 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 | undefined | undefined |
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.
Property | Attribute | Description | Type | Default |
---|---|---|---|---|
name | The name of the component | string | 'event-timeslot' |
Events
Event | Description | Type |
---|---|---|
valueChanged | This event is fired when the value of the event location changes. | CustomEvent<{ value: string; name: string; }> |
Shadow Parts
Part | Description |
---|---|
"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