nylas-participants-custom-availability

Overview

The nylas-participants-custom-availability component is a form input for setting custom availability for participants.

Version1.1.4
Install (React)npm install @nylas/react
Import (React)import { NylasParticipantsCustomAvailability } from '@nylas/react';
Import (CDN)<script type="module"> import { defineCustomElement } from "https://cdn.jsdelivr.net/npm/@nylas/web-elements@latest/dist/cdn/nylas-participants-custom-availability/nylas-participants-custom-availability.es.js"; defineCustomElement(); </script>

Example


Properties

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 participants custom availability.string'participant-custom-availability'
participantsThe participants selected in the add participants section.Participant[]`this.selectedConfiguration?.participants
selectedConfigurationThe selected configConfiguration | undefinedundefined

Events

EventDescriptionType
valueChangedThis event is fired when the participants custom availability changes.CustomEvent<{ value: string; name: string; }>

Shadow Parts

PartDescription
"npca"The participants custom availability container
"npca__content"The content of the participants custom availability
"npca__header"The header of the participants custom availability
"npca__participant-container"The participant container
"npca__participant-title"The title of the participant
"npca__participant-toggle--container"The toggle container for the participant
"npca__toggle-label"The label of the toggle
"npca_toggle-input"The input of the toggle
"npca_toggle-slider"The slider of the toggle

Built with StencilJS