Skip to main content

end

Description

Optional. Defines the date until which to show available slots

Usage

end?: Date;

Parameters

  • Date - the end date until which to display available slots; the default value is one year from the current date.

Example

new booking.Booking("#root", {
data,
end: new Date(2025, 11, 11),
// other parameters
});

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