Asymmetrik/mean2-starter

View on GitHub
src/client/app/core/help/core-help.module.ts

Summary

Maintainability
A
0 mins
Test Coverage
import { NgModule } from '@angular/core';

import { AccordionModule } from 'ngx-bootstrap';

import { OverviewHelpComponent } from './overview.component';
import { AboutComponent } from '../about.component';
import { HelpService } from '../../help/help.service';
import { HelpTopic } from '../../help/help.class';


@NgModule({
    imports: [
        AccordionModule.forRoot()
    ],
    exports: [],
    declarations:   [
        AboutComponent,
        OverviewHelpComponent
    ],
    providers:  []
})
export class CoreHelpModule {
    constructor(private helpService: HelpService) {
        this.helpService.registerHelpComponent(new HelpTopic('Getting Started', 'overview', 'core'));
    }
}