How to use the angular2-calendar.CalendarModule.forRoot function in angular2-calendar

To help you get started, we’ve selected a few angular2-calendar examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github ranjithprabhuk / ng2-Dashboard / src / modules / dashboard / dashboard.module.ts View on Github external
import { TimeComponent } from './components/time/time.component';

import { DashboardRoutingModule } from './dashboard-routing.module';

@NgModule({
  imports: [
    CommonModule,
    FormsModule,
    HttpModule,
    ChartsModule,
    ChartModule,
    AgmCoreModule.forRoot({
      apiKey: new AppConfig().googleMapApiKey
    }),
    CalendarModule.forRoot(),
    Ng2GoogleChartsModule,
    Ng2TableModule,
    PaginationModule,
    TabsModule,
    DragulaModule,
    SimpleNotificationsModule,
    DashboardRoutingModule
  ],
  declarations: [
    HeaderComponent, SidebarComponent, RightSidebarComponent, FooterComponent, DashBoardComponent, HomeComponent,
    WidgetComponent, FormEditorsComponent, FormAdvancedComponent, FormGeneralComponent, MailBoxComponent, ComposeMailComponent,
    ReadMailComponent, InboxComponent, Ng2ChartComponent, SimpleNotificationComponent, GoogleMapComponent, GoogleChartComponent,
    Ng2DataTableComponent, DragAndDropComponent, CandTLeafletComponent, LeafletMapComponent, TimeComponent, LeafletWeatherComponent,
    HighChartComponent, HighChartWeatherComponent, CalendarComponent, CarouselComponent
    ],
  providers: [ApiService]

angular2-calendar

A calendar component that can display events on a month, week or day view

MIT
Latest version published 8 years ago

Package Health Score

56 / 100
Full package analysis

Popular angular2-calendar functions