NgModuleFactory

class

abstract class NgModuleFactory<T> {
  abstract moduleType: Type<T>
  abstract create(parentInjector: Injector | null): NgModuleRef<T>
}

Properties

Property Description
abstract moduleType: Type<T> Read-only.

Methods

abstract create(parentInjector: Injector | null): NgModuleRef<T>

Parameters

parentInjector

Type: Injector | null.

Returns

NgModuleRef<T>

© 2010–2019 Google, Inc.
Licensed under the Creative Commons Attribution License 4.0.
https://v6.angular.io/api/core/NgModuleFactory