UNPKG

@goldsam/ng-golden-layout

Version:
45 lines 1.37 kB
import { NgModule } from '@angular/core'; import { CommonModule } from '@angular/common'; import { GoldenLayoutConfiguration } from './config'; import { GoldenLayoutService } from './golden-layout.service'; import { GoldenLayoutComponent } from './golden-layout.component'; var GoldenLayoutModule = (function () { function GoldenLayoutModule() { } /** * @param {?} config * @return {?} */ GoldenLayoutModule.forRoot = function (config) { return { ngModule: GoldenLayoutModule, providers: [ GoldenLayoutService, { provide: GoldenLayoutConfiguration, useValue: config } ] }; }; return GoldenLayoutModule; }()); export { GoldenLayoutModule }; GoldenLayoutModule.decorators = [ { type: NgModule, args: [{ declarations: [GoldenLayoutComponent], exports: [GoldenLayoutComponent], imports: [CommonModule] },] }, ]; /** * @nocollapse */ GoldenLayoutModule.ctorParameters = function () { return []; }; function GoldenLayoutModule_tsickle_Closure_declarations() { /** @type {?} */ GoldenLayoutModule.decorators; /** * @nocollapse * @type {?} */ GoldenLayoutModule.ctorParameters; } //# sourceMappingURL=module.js.map