PlatformState
From Get docs
< @angular/platform-serverAngular/docs/10/api/platform-server/platformstate
PlatformState
class
Representation of the current platform state.
class PlatformState {
renderToString(): string
getDocument(): any
}
Methods
renderToString() |
---|
Renders the current state of the platform to string. |
renderToString(): stringParametersThere are no parameters. Returns
|
getDocument() |
---|
Returns the current DOM state. |
getDocument(): anyParametersThere are no parameters. Returns
|
© 2010–2020 Google, Inc.
Licensed under the Creative Commons Attribution License 4.0.
https://v10.angular.io/api/platform-server/PlatformState