W3cubDocs

/Angular 7

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