Calendar/wwwroot/js/configurations/GridSettings.d.ts
2026-02-03 00:02:25 +01:00

22 lines
536 B
TypeScript

/**
* Grid display settings interface
*/
export interface IGridSettings {
dayStartHour: number;
dayEndHour: number;
workStartHour: number;
workEndHour: number;
hourHeight: number;
snapInterval: number;
fitToWidth: boolean;
scrollToHour: number | null;
gridStartThresholdMinutes: number;
showCurrentTime: boolean;
showWorkHours: boolean;
}
/**
* Grid settings utility functions
*/
export declare namespace GridSettingsUtils {
function isValidSnapInterval(interval: number): boolean;
}