Skip to main content

start

Description

Optional. Defines the date from which to start showing available slots

Usage

start?: Date;

Parameters

  • Date - (optional) the start date from which to display available slots; the default value is the current date.

Example

new booking.Booking("#root", {
data,
start: new Date(2024, 10, 10),
// other parameters
});

The snippet below shows how to set the start and end dates: