Calendar/wwwroot/js/features/all-day/AllDayHeightService.d.ts
2026-02-03 00:02:25 +01:00

26 lines
780 B
TypeScript

/**
* AllDayHeightService - Manages all-day row height calculations and animations
*
* STATELESS SERVICE - Reads all data from DOM via AllDayDomReader
* - No persistent state
* - Calculates required rows by reading DOM elements
* - Animates header height based on DOM state
*/
export declare class AllDayHeightService {
/**
* Main entry point - recalculate and animate header height based on DOM
*/
recalculateAndAnimate(): void;
/**
* Animate all-day container to specific number of rows
*/
animateToRows(targetRows: number): void;
/**
* Calculate all-day height based on number of rows
*/
private calculateAllDayHeight;
/**
* Collapse all-day row (animate to 0 rows)
*/
collapseAllDayRow(): void;
}