more_horiz
@angular/corecode
NgModuleRef
Class
stable
Represents an instance of an NgModule created by an NgModuleFactory.
Provides access to the NgModule instance and related objects.
On this page
API
abstract class NgModuleRef<T> { abstract readonly injector: EnvironmentInjector; abstract readonly instance: T; abstract destroy(): void; abstract onDestroy(callback: () => void): void;}
Jump to details