• 개요
@angular/core

NgModuleFactory

클래스
사용 중단 권고

사용 중단을 권고합니다.

This class was mostly used as a part of ViewEngine-based JIT API and is no longer needed in Ivy JIT mode. Angular provides APIs that accept NgModule classes directly (such as PlatformRef.bootstrapModule and createNgModule), consider switching to those APIs instead of using factory-based ones.

API

    
      abstract class NgModuleFactory<T> {}
    
    

create

NgModuleRef<T>
@paramparentInjectorInjector | null
@returnsNgModuleRef<T>
상세 내용으로 이동