All Components

CalendarComponent

Represents the Kendo UI Calendar component for Angular.

@Component({
selector: 'my-app',
template: `
 <kendo-calendar></kendo-calendar>
`
})
class AppComponent { }

Selector

kendo-calendar

Export Name

Accessible in templates as #kendoCalendarInstance="kendo-calendar"

Inputs

activeView CalendarView

Defines the active view that the Calendar initially renders.
By default, the active view is month.

You have to set activeView within the topView-bottomView range.

bottomView CalendarView

Defines the bottommost view, to which the user can navigate.

disabled boolean

Sets or gets the disabled property of the Calendar and determines whether the component is active.

navigation boolean

Sets or gets the navigation property of the Calendar.
and determines whether the navigation side-bar is displayed.

rangeValidation boolean

Determines whether the built-in min or max validators are enforced when validating a form.

tabIndex number

Sets or gets the tabIndex property of the Calendar. Based on the
HTML tabindex behavior,
it determines whether the component is focusable.
.

topView CalendarView

Defines the topmost view, to which the user can navigate.

weekNumber boolean

Determines whether to display a week number column in the month view.

focusedDate Date

Sets or gets the focusedDate property of the Calendar and defines the focused date of the component.

If the Calendar is out of the min or max range, it normalizes the defined focusedDate.

max Date

Sets or gets the max property of the Calendar and defines the maximum allowed date value.
By default, the max value is 2099-12-31.

min Date

Sets or gets the min property of the Calendar and defines the minimum allowed date value.
By default, the min value is 1900-1-1.

value Date

Sets or gets the value property of the Calendar and defines the selected value of the component.

The value has to be a valid
JavaScript Date instance.

Events

activeViewChange EventEmitter<CalendarView>

Fires when the active view is changed.

For more details, refer to the section on events.

activeViewDateChange EventEmitter

Fires when the active view date is changed.

For more details, refer to the section on events.

valueChange EventEmitter

Fires when the value is changed.

For more details, refer to the section on events.

Methods

blur

Blurs the Calendar component.

focus

Focuses the host element of the Calendar.

@Component({
selector: 'my-app',
template: `
 <button (click)="calendar.focus()">Focus calendar</button>
 <kendo-calendar #calendar></kendo-calendar>
`
})
class AppComponent { }
In this article