API Reference

WindowInfo

interface

Describes the currently visible window of weeks.

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

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