[ Web Proxy ]
URL:
Viewing: https://angular.dev/api/platform-server/PlatformState [Back]  [Original]

PlatformState Angular Skip to main content
menu
close
more_horiz
menuAPI
@angular/platform-server

PlatformState

Class
stable

Representation of the current platform state.

On this page

    arrow_upward_alt Back to the top

    API

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

    renderToString

    string

    Renders the current state of the platform to string.

    @returnsstring

    getDocument

    any

    Returns the current DOM state.

    @returnsany
    Jump to details

    Web Proxy Viewer  |  New URL  |  Original Page