Calendar
Represents the Kendo UI for Vue Calendar component. Use the Calendar to show dates in a month, year, decade, or century view and to let the user select a date.
Definition
Package:@progress/kendo-vue-dateinputs
Properties Interface:CalendarProps
Syntax:
<Calendar :value="selectedDate" :min="minDate" :max="maxDate" :week-number="true" />
Properties
Sets which end of the selection range the Calendar marks as active.
If you do not set a selection range, the Calendar ignores this value.
allowReverse?
boolean
When you set it to true, the Calendar skips the check that the from value comes before the to value.
false
bottomView?
string
Sets the lowest view to which the user can navigate.
'month'
cell?
any
Sets a custom template for the Calendar cells.
The template receives the CalendarCellProps of each cell
(see example).
className?
string
Sets a CSS class on the Calendar.
defaultActiveView?
string
Sets the view that the Calendar shows first. If you do not set it, the Calendar shows the month view.
'month'
defaultValue?
Date | Date[] | SelectionRange
Sets the initial value of the Calendar when you do not set value.
null
disabled?
boolean
When you set it to true, the Calendar is disabled.
false
focusedDate?
Date
Sets the date that the Calendar focuses first.
headerTitle?
any
Sets a custom template for the header title of the Calendar.
The template receives the CalendarHeaderTitleProps of the title
(see example).
id?
string
Sets the id of the Calendar.
max?
Date
Sets the latest date that the user can select in the Calendar. Defaults to 2099-12-31.
min?
Date
Sets the earliest date that the user can select in the Calendar. Defaults to 1900-1-1.
Sets the selection mode of the Calendar.
The available modes are:
- (Default)
single—Renders a single-date selection. multiple—Renders a multiple-date selection.range—Renders a date-range selection.
navigation?
boolean
When you set it to true, the Calendar shows the navigation sidebar.
true
onBlur?
(event: any) => void
Fires each time the Calendar loses focus. The event name is blur.
onChange?
(event: CalendarChangeEvent) => void
Fires after the value of the Calendar changes. The event name is change.
onFocus?
(event: any) => void
Fires each time the Calendar receives focus. The event name is focus.
onWeekcellclick?
(event: CalendarWeekCellClickEvent) => void
Fires when the user clicks a week number cell. The event name is weekcellclick.
onWeeknameclick?
(event: CalendarWeekNameClickEvent) => void
Fires when the user clicks a week name cell. The event name is weeknameclick.
tabIndex?
number
Sets the tabIndex property of the Calendar.
topView?
string
Sets the highest view to which the user can navigate.
'century'
value?
Date | Date[] | SelectionRange
Sets the value of the Calendar.
views
number
Sets the number of views that the Calendar shows side by side.
1
weekCell?
any
Sets a custom template for the week-column cells of the Calendar (see example).
weekNumber?
boolean
When you set it to true, the Calendar shows a week number column.