API reference: @salmonui/scheduler
SchedulerEventLayoutinterface
import type { SchedulerEventLayout } from '@salmonui/scheduler';interface SchedulerEventLayout {
readonly spannedPlacement?: 'allDayRow' | 'timeSlot';
readonly maxHeight?: number;
readonly moreIndicator?: boolean;
readonly minimumDuration?: number;
readonly ignoreWhitespace?: boolean;
}
| Name | Signature | Description |
|---|---|---|
spannedPlacementoptional | readonly spannedPlacement?: 'allDayRow' | 'timeSlot'; | Timed events that cross midnight: the all-day row (default) or split into the time slots. |
maxHeightoptional | readonly maxHeight?: number; | Lanes of stacked events per month cell (and the all-day row) before "+N more" (default 3 / all). |
moreIndicatoroptional | readonly moreIndicator?: boolean; | Show the "+N more" part (default true). |
minimumDurationoptional | readonly minimumDuration?: number; | Day views: events shorter than this render this tall, in minutes (default 0). |
ignoreWhitespaceoptional | readonly ignoreWhitespace?: boolean; | Month view: lanes take only the rows they need (no blank space left by hidden lanes). |