function deprecated
Renders a NgModuleFactory to string.
Deprecated: This symbol is no longer necessary as of Angular v13. Use renderModule API instead.
renderModuleFactory<T>(moduleFactory: NgModuleFactory<T>, options: { document?: string; url?: string; extraProviders?: StaticProvider[]; }): Promise<string>Deprecated This symbol is no longer necessary as of Angular v13. Use renderModule API instead.
moduleFactory | NgModuleFactory<T> | |
options | object |
Promise<string>
document is the full document HTML of the page to render, as a string. url is the URL for the current render request. extraProviders are the platform level providers for the current render request.
© 2010–2022 Google, Inc.
Licensed under the Creative Commons Attribution License 4.0.
https://angular.io/api/platform-server/renderModuleFactory