API Reference

WindowInfo

interface

Describes the currently visible window of weeks.

Defined in package/src/weeks-view-types.ts:49

PropTypeDefaultDescription
windowStart*PlainDateThe first date of the visible window.
windowEnd*PlainDateThe last date of the visible window.
weekCount*numberNumber of week rows in the window (the prop value, not actual when shrunk).
dayCount*numberTotal number of calendar days in the window.
enabledWeekCount*numberNumber of weeks that contain at least one enabled date.
enabledDayCount*numberNumber of enabled (selectable) dates in the window.
visibleMonths*VisibleMonth[]Distinct months visible in the window, in chronological order.