Skip to content

@jalali-js/vue / use-calendar / useCalendar

Function: useCalendar()

useCalendar(options?): UseCalendarResult

Defined in: vue/src/use-calendar.ts:37

The calendar's own reactive state: a date ref, plus format() bound to the composable's locale, and the calendar system's isLeapYear()/daysInMonth()/today(). This is the low-level composable DatePicker (and any custom UI) is built on; it holds no opinion on how that date gets displayed or stored (see architecture.md's "Display value against storage value").

Parameters

options?

UseCalendarOptions = {}

Returns

UseCalendarResult