JengaCalendarState

The scroll state of a JengaCalendar: which months it can show and which one is visible. Create one with rememberJengaCalendarState.

Properties

Link copied to clipboard
val currentMonth: YearMonth

The month currently shown (the one a swipe settles on).

Link copied to clipboard
val endMonth: YearMonth
Link copied to clipboard
val firstDayOfWeek: DayOfWeek
Link copied to clipboard
val startMonth: YearMonth

Functions

Link copied to clipboard
suspend fun animateScrollToMonth(month: YearMonth)

Animates to month, clamped to the calendar's range.

Link copied to clipboard
suspend fun scrollToMonth(month: YearMonth)

Jumps to month, clamped to the calendar's range.