nylas-event-capacity
Overview
The nylas-event-capacity
component is a UI component that allows users to set the event capacity for the scheduler configuration.
Version | 1.3.6 |
Install (React) | npm install @nylas/react |
Import (React) | import { NylasEventCapacity } 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 |
---|---|---|---|---|
capacity | The default event capacity | number | undefined | undefined | |
name | The name of the component | string | 'event-capacity' |
Events
Event | Description | Type |
---|---|---|
valueChanged | This event is fired when the event capacity value changes | CustomEvent<{ value: string; name: string; valueChanged?: ((event: CustomEvent<{ value: string; name: string; }>) => void) | undefined; }> |
Shadow Parts
Part | Description |
---|---|
"necapacity" | The nylas-event-capacity container |
"necapacity__body" | The body of the event capacity section |
"necapacity__drawer-toggle--container" | The card’s drawer toggle container |
"necapacity__header" | The header of the event capacity section |
"necapacity__input-numberfield" | The event capacity input numberfield |
Built with StencilJS