W3cubDocs

/Angular 11

PlatformState

class

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–2021 Google, Inc.
Licensed under the Creative Commons Attribution License 4.0.
https://v11.angular.io/api/platform-server/PlatformState