NgModuleFactory
Class
deprecated
Deprecation warning
create
NgModuleRef<T>@returns
NgModuleRef<T>跳到詳細內容
Deprecation warning
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.
NgModuleRef<T>NgModuleRef<T>