getModuleFactory()

getModuleFactory

Experimental Function

Class Export

export getModuleFactory(id: string) : NgModuleFactory<any>

Returns the NgModuleFactory with the given id, if it exists and has been loaded. Factories for modules that do not specify an id cannot be retrieved. Throws if the module cannot be found.

exported from @angular-core-index defined in @angular/core/src/linker/ng_module_factory_loader.ts

© 2010–2017 Google, Inc.
Licensed under the Creative Commons Attribution License 4.0.
https://v2.angular.io/docs/ts/latest/api/core/index/getModuleFactory-function.html

在线笔记
App下载
App下载

扫描二维码

下载编程狮App

公众号
微信公众号

编程狮公众号

意见反馈
返回顶部