On this page
renderModule
function
Renders a Module to string.
renderModule<T>(module: Type<T>, options: { document?: string; url?: string; extraProviders?: StaticProvider[]; }): Promise<string>
Parameters
module |
Type<T> |
|
options |
object |
Returns
Promise<string>
Description
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://v13.angular.io/api/platform-server/renderModule