W3cubDocs

/Angular

PlatformState

class final

Representation of the current platform state.

class PlatformState {
  renderToString(): string
  getDocument(): any
}

Methods

Renders the current state of the platform to string.

renderToString(): string

Parameters

There are no parameters.

Returns

string

Returns the current DOM state.

getDocument(): any

Parameters

There are no parameters.

Returns

any

© 2010–2023 Google, Inc.
Licensed under the Creative Commons Attribution License 4.0.
https://angular.io/api/platform-server/PlatformState