File

projects/maplander/core/src/lib/clipboard/clipboard.module.ts

Methods

Static forRoot
forRoot()
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
      ]
    };
  }

}

result-matching ""

    No results matching ""