UNPKG

vue3-calendar-component

Version:

A comprehensive Vue 3 Calendar component with Vuetify 3, TypeScript, and advanced features

11 lines 792 B
import { Ref } from 'vue'; import { DynamicTimeSlots } from '../types'; /** * Custom composable to dynamically calculate time slot height based on available height and time slot duration. * @param availableHeightRef - Reference to the available height in pixels * @param numberOfSlots - Reference to the number of time slots to display * @param headerHeight - Optional header height to subtract from available height (default is 60px) * @returns A computed reference that provides the dynamic height for each time slot in pixels. */ export declare function useDynamicTimeSlots(availableHeightRef: Ref<number>, minTimeRef: Ref<string>, maxTimeRef: Ref<string>, slotDurationRef: Ref<number>, headerHeight?: number): Ref<DynamicTimeSlots>; //# sourceMappingURL=useDynamicTimeSlots.d.ts.map