Skip to content

Commit

Permalink
Add config dor datepicker-dropdown
Browse files Browse the repository at this point in the history
  • Loading branch information
zdrawku committed Feb 27, 2019
1 parent 9e4be24 commit e7b7170
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions live-editing/configs/DatePickerConfigGenerator.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ import { DatepickerSample3Component } from "../../src/app/scheduling/datepicker/
import { DatepickerSample4Component } from "../../src/app/scheduling/datepicker/datepicker-sample-4/datepicker-sample-4.component";
import { DatepickerSample5Component } from "../../src/app/scheduling/datepicker/datepicker-sample-5/datepicker-sample-5.component";
import { DatepickerSample6Component } from "../../src/app/scheduling/datepicker/datepicker-sample-6/datepicker-sample-6.component";
import { DatepickerDropdownComponent } from "../../src/app/scheduling/datepicker/datepicker-dropdown/datepicker-dropdown.component";
import { AppModuleConfig } from "./core/AppModuleConfig";
import { Config } from "./core/Config";
import { IConfigGenerator } from "./core/IConfigGenerator";
Expand Down Expand Up @@ -81,6 +82,16 @@ export class DatePickerConfigGenerator implements IConfigGenerator {
})
}));

// date picker sample `datepicker-dropdown`
configs.push(new Config({
component: DatepickerDropdownComponent,
appModuleConfig: new AppModuleConfig({
imports: [IgxDatePickerModule, DatepickerDropdownComponent, IgxIconModule, IgxInputGroupModule],
ngDeclarations: [DatepickerDropdownComponent],
ngImports: [IgxDatePickerModule, IgxIconModule, IgxInputGroupModule]
})
}));

return configs;
}
}

0 comments on commit e7b7170

Please sign in to comment.