nylas-select-event-type
Overview
The nylas-select-event-type
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 { NylasSelectEventType } 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 |
---|
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 | 'select-event-type' |
participantOptions | | The participant options passed in the additionalParticipants prop from the nylas-scheduler-editor component. | AdditionalParticipant[] | undefined | undefined |
Events
Event | Description | Type |
---|
createEventTypeSelected | This event is fired when the event type is selected. | CustomEvent<{ eventType: CONFIGURATION_EVENT_TYPE; }> |
returnToAllSchedulingPagesEvent | This event is fired when the return to all scheduling pages button is clicked. | CustomEvent<void> |
Shadow Parts
Part | Description |
---|
"nset" | |
"nset__content" | |
"nset__content__event-type" | |
"nset__header" | |
"nset__header__back-button" | |
Built with StencilJS