dependencies Legend  Declarations  Module  Bootstrap  Providers  Exports cluster_StateUpdatePluginModule cluster_StateUpdatePluginModule_providers StateUpdatePlugin StateUpdatePlugin StateUpdatePluginModule StateUpdatePluginModule StateUpdatePlugin->StateUpdatePluginModule

File

libs/playground-test-bbs/plugins/src/lib/state-update-plugin/state-update-plugin.module.ts

Providers

Methods

Static forRoot
forRoot()
import { ModuleWithProviders, NgModule } from '@angular/core';
import { StateUpdatePlugin } from './state-update-plugin';
@NgModule({
  providers: [StateUpdatePlugin]
})
export class StateUpdatePluginModule {
  constructor(stateUpdatePlugin: StateUpdatePlugin) {
    stateUpdatePlugin.registerActions();
  }

  static forRoot(): ModuleWithProviders<StateUpdatePluginModule> {
    return { ngModule: StateUpdatePluginModule };
  }
}

results matching ""

    No results matching ""