W3cubDocs

/Angular

PlatformState

Representation of the current platform state.

API

class PlatformState {
  constructor(_doc: any): PlatformState;
  renderToString(): string;
  getDocument(): any;
}

constructor

PlatformState
@param_docany
@returnsPlatformState

renderToString

string

Renders the current state of the platform to string.

@returnsstring

getDocument

any

Returns the current DOM state.

@returnsany

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