UNPKG

713 BTypeScriptView Raw
1import { ModuleWithProviders, Provider } from '@angular/core';
2import { CalendarModuleConfig } from './common/calendar-common.module';
3export * from './common/calendar-common.module';
4export * from './month/calendar-month.module';
5export * from './week/calendar-week.module';
6export * from './day/calendar-day.module';
7/**
8 * The main module of this library. Example usage:
9 *
10 * ```typescript
11 * import { CalenderModule } from 'angular-calendar';
12 *
13 * @NgModule({
14 * imports: [
15 * CalenderModule.forRoot()
16 * ]
17 * })
18 * class MyModule {}
19 * ```
20 *
21 */
22export declare class CalendarModule {
23 static forRoot(dateAdapter: Provider, config?: CalendarModuleConfig): ModuleWithProviders<CalendarModule>;
24}