PlatformState
Representation of the current platform state.
API
class PlatformState {
constructor(_doc: any): PlatformState;
renderToString(): string;
getDocument(): any;
}
constructor
PlatformState
@param_doc
any
@returns
PlatformState
renderToString
stringRenders the current state of the platform to string.
@returns
string
getDocument
anyReturns the current DOM state.
@returns
any
Super-powered by Google ©2010–2025.
Code licensed under an MIT-style License. Documentation licensed under CC BY 4.0.
https://angular.dev/api/platform-server/PlatformState