argos/dmp-frontend/src/app/library/guided-tour/guided-tour.module.ts

22 lines
705 B
TypeScript
Raw Normal View History

2020-07-30 17:29:20 +02:00
import { GuidedTourService } from './guided-tour.service';
import { GuidedTourComponent } from './guided-tour.component';
import { NgModule, ErrorHandler, ModuleWithProviders } from '@angular/core';
import { CommonModule } from '@angular/common';
import { WindowRefService } from './windowref.service';
@NgModule({
declarations: [GuidedTourComponent],
imports: [CommonModule],
providers: [WindowRefService],
exports: [GuidedTourComponent],
entryComponents: [GuidedTourComponent],
})
export class GuidedTourModule {
2021-09-24 20:52:14 +02:00
public static forRoot(): ModuleWithProviders<GuidedTourModule> {
2020-07-30 17:29:20 +02:00
return {
ngModule: GuidedTourModule,
providers: [ErrorHandler, GuidedTourService],
};
}
}