W3cubDocs

/Angular 10

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