Calendar
Display date.
Basic
Custom Content
API
Attributes
Name | Description | Type | Default |
---|---|---|---|
model-value / v-model | binding value | ^[Date] | — |
Slots
Name | Description | Type |
---|---|---|
date-cell | type 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 } |