Calendar
Basic usage
Pass isShowPoint attribute to set whether to display the marker, isShowPoint type is Function, the parameter is the date of the day, return true to display the marker. Example
clickDate will be triggered when the date is clicked, and the parameter is the date of the day.
API
Attributes
| Name | is Required | Description | Type | Default Value Description |
|---|---|---|---|---|
| modelValue | Yes | bind date | Date | - |
| isShowPoint | No | whether to show mark for each date, it needs to be assigned with a function. input is the date, and output is a boolean value | Function | () => false |
| width | No | width of calendar | String | '424px' |
Event
| Name | Description | Parameters |
|---|---|---|
| clickDate | triggers when date in calendar is clicked | - |
iCalendar is a secondary encapuslation base on Element Plus's ElCalendar component. For description of other properties, please refer to Calendar
