DayLayout
Abstract
The base class for DayView layout algorithms. It determines how overlapping intra-day events are arranged horizontally within a day column by grouping them into clusters and calculating their position and size as LayoutDim values. Subclasses such as FluidDayLayout implement specific strategies for distributing available width among overlapping events.
The layout is configured through the DayView's eventLayout config:
const calendar = new Calendar({
modes : {
day : {
eventLayout : {
// Use the fluid layout (default)
type : 'fluid',
// Enable a gutter for creating events in occupied time slots
gutter : true,
gutterWidth : 15
}
}
}
});
No results
Configs
Configs are options you supply in a configuration object when creating an instance of this classProperties
Properties are getters/setters or publicly accessible variables on this class-
Identifies an object as an instance of DayLayout class, or subclass thereof.
-
Identifies an object as an instance of DayLayout class, or subclass thereof.