slotGap
Description
Optional. Defines a gap between booking slots for all cards
note
The value will be applied in case the gap value is not set for the gap
or slotGap
parameter inside the data
property.
Usage
slotGap?: number;
Parameters
number
- (optional) a gap between slots in minutes; 0 is set by default
Example
const slotGap = 10;
new booking.Booking("#root", {
slotGap,
// other parameters
});
The snippet below shows how to set duration and gap for all slots: