W3cubDocs

/Angular 4 TypeScript

renderModuleFactory

Experimental Function

Class Export

export renderModuleFactory(moduleFactory: NgModuleFactory<T>, options: PlatformOptions) : Promise<string>

Renders a NgModuleFactory to string.

exported from platform-server/index defined in platform-server/src/utils.ts

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