All Components

CalendarModule

The exported package module.

The package exports:

  • CalendarComponent—The Calendar component class.
  • CellTemplateDirective—The month cell template directive.
  • MonthCellTemplateDirective—The month cell template directive.
  • YearCellTemplateDirective—The year cell template directive.
  • DecadeCellTemplateDirective—The decade cell template directive.
  • CenturyCellTemplateDirective—The century cell template directive.
// Import the Calendar module
import { CalendarModule } from '@progress/kendo-angular-dateinputs';

// The browser platform with a compiler
import { platformBrowserDynamic } from '@angular/platform-browser-dynamic';

import { NgModule } from '@angular/core';

// Import the app component
import { AppComponent } from './app.component';

// Define the app module
@NgModule({
    declarations: [AppComponent], // declare app component
    imports:      [BrowserModule, CalendarModule], // import Calendar module
    bootstrap:    [AppComponent]
})
export class AppModule {}

// Compile and launch the module
platformBrowserDynamic().bootstrapModule(AppModule);
In this article