projects/maplander/core/src/lib/clipboard/clipboard.module.ts
Static forRoot |
forRoot()
|
Returns :
ModuleWithProviders
|
import {ModuleWithProviders, NgModule} from '@angular/core';
import { CommonModule } from '@angular/common';
import {ClipboardService} from './clipboard.service';
@NgModule({
imports: [
CommonModule
]
})
export class ClipboardModule {
static forRoot(): ModuleWithProviders {
return {
ngModule: ClipboardModule,
providers: [
ClipboardService
]
};
}
}