Skip to content

Calendar

Display date.

Basic

Custom Content

API

Attributes

NameDescriptionTypeDefault
model-value / v-modelbinding value^[Date]

Slots

NameDescriptionType
date-celltype indicates which month the date belongs, optional values are prev-month, current-month, next-month; isSelected indicates whether the date is selected; day is the formatted date in the format YYYY-MM-DD; date is date the cell represents^[object]{ type: 'prev-month' | 'current-month' | 'next-month', isSelected: boolean, day: string, date: Date }

Released under the MIT License.