mirror of https://github.com/abpframework/abp.git
committed by
GitHub
6 changed files with 21 additions and 3 deletions
@ -0,0 +1,11 @@ |
|||||
|
import { Injector } from '@angular/core'; |
||||
|
import { NgbInputDatepickerConfig } from '@ng-bootstrap/ng-bootstrap'; |
||||
|
|
||||
|
export function initDatepickerConfig(injector: Injector) { |
||||
|
const datepickerConfig = injector.get(NgbInputDatepickerConfig, null); |
||||
|
if (datepickerConfig) { |
||||
|
datepickerConfig.container = 'body'; |
||||
|
} |
||||
|
|
||||
|
return () => {}; |
||||
|
} |
||||
@ -1,2 +1,3 @@ |
|||||
export * from './error.handler'; |
export * from './error.handler'; |
||||
export * from './lazy-style.handler'; |
export * from './lazy-style.handler'; |
||||
|
export * from './datepicker-config'; |
||||
|
|||||
Loading…
Reference in new issue