v7.3.0

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 class

Properties

Properties are getters/setters or publicly accessible variables on this class

Functions

Functions are methods available for calling on the class

    Type definitions

    Source path

    Calendar/layout/day/DayLayout.js

    Contents