nylas-event-limits
Overview
The nylas-event-limits
component is an input form for event limits, such as the number of available days in the future and
the minimum period of notice that a guest must provide to cancel a booking.
This component is a container for the nylas-limit-future-bookings
and nylas-min-cancellation-notice
components.
<nylas-event-limits>
<div slot="inputs">
<nylas-limit-future-bookings></nylas-limit-future-bookings>
<nylas-min-cancellation-notice></nylas-min-cancellation-notice>
</div>
</nylas-event-limits>
Version | 1.3.3 |
Install (React) | npm install @nylas/react |
Import (React) | import { NylasEventLimits } from '@nylas/react'; |
Import (CDN) | <script type="module">
import { defineCustomElement } from "https://cdn.jsdelivr.net/npm/@nylas/web-elements@latest/dist/cdn/nylas-event-limits/nylas-event-limits.es.js";
defineCustomElement();
</script> |
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.nl | LANGUAGE_CODE.sv | LANGUAGE_CODE.zh | undefined | undefined |
Slots
Slot | Description |
---|---|
"inputs" | The event information inputs. This includes the limit future bookings and minimum cancellation notice components. |
Built with StencilJS