New to Kendo UI for Vue? Start a free 30-day trial

CalendarProps

Interface

Represents the props of the Kendo UI for Vue Calendar component. The change event passes a CalendarChangeEvent object to its handler.

Definition

Package:@progress/kendo-vue-dateinputs

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.

When you set it to true, the Calendar skips the check that the from value comes before the to value.

Default:

false

Sets the lowest view to which the user can navigate.

Default:

'month'

Sets a custom template for the Calendar cells. The template receives the CalendarCellProps of each cell (see example).

Sets a CSS class on the Calendar.

Sets the view that the Calendar shows first. If you do not set it, the Calendar shows the month view.

Default:

'month'

Sets the initial value of the Calendar when you do not set value.

Default:

null

disabled?

boolean

When you set it to true, the Calendar is disabled.

Default:

false

Sets the date that the Calendar focuses first.

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.

When you set it to true, the Calendar shows the navigation sidebar.

Default:

true

onBlur?

(event: any) => void

Fires each time the Calendar loses focus. The event name is blur.

Parameters:eventany

Fires after the value of the Calendar changes. The event name is change.

Parameters:eventCalendarChangeEvent

onFocus?

(event: any) => void

Fires each time the Calendar receives focus. The event name is focus.

Parameters:eventany

Fires when the user clicks a week number cell. The event name is weekcellclick.

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.

Default:

'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.

Default:

1

Sets a custom template for the week-column cells of the Calendar (see example).

When you set it to true, the Calendar shows a week number column.