5 lines
7.5 KiB
JSON
5 lines
7.5 KiB
JSON
{
|
|
"id": "api/platform-server/PlatformState",
|
|
"title": "PlatformState",
|
|
"contents": "\n\n<article>\n <div class=\"breadcrumb-container\">\n <div class=\"breadcrumb\">\n <script type=\"application/ld+json\">\n {\n \"@context\": \"http://schema.org\",\n \"@type\": \"BreadcrumbList\",\n \"itemListElement\": [\n { \"@type\": \"ListItem\", \"position\": 1, \"item\": { \"@id\": \"https://angular.io//api\", \"name\": \"API\" } },\n { \"@type\": \"ListItem\", \"position\": 2, \"item\": { \"@id\": \"https://angular.io/api/platform-server\", \"name\": \"@angular/platform-server\" } },\n { \"@type\": \"ListItem\", \"position\": 3, \"item\": { \"@id\": \"https://angular.io/api/platform-server/PlatformState\", \"name\": \"PlatformState\" } }\n ]\n }\n </script>\n <a href=\"/api\">API</a> > <a href=\"api/platform-server\">@angular/platform-server</a>\n </div>\n <div class=\"github-links\">\n <a href=\"https://github.com/angular/angular/edit/master/packages/platform-server/src/platform_state.ts?message=docs(platform-server)%3A%20describe%20your%20change...#L13-L36\" aria-label=\"Suggest Edits\" title=\"Suggest Edits\"><i class=\"material-icons\" aria-hidden=\"true\" role=\"img\">mode_edit</i></a>\n <a href=\"https://github.com/angular/angular/tree/12.0.0-next.7/packages/platform-server/src/platform_state.ts#L13-L36\" aria-label=\"View Source\" title=\"View Source\"><i class=\"material-icons\" aria-hidden=\"true\" role=\"img\">code</i></a>\n</div>\n </div>\n \n <header class=\"api-header\">\n <h1 id=\"platformstate\">PlatformState<a title=\"Link to this heading\" class=\"header-link\" aria-hidden=\"true\" href=\"api/platform-server/PlatformState#platformstate\"><i class=\"material-icons\">link</i></a></h1>\n \n <label class=\"api-type-label class\">class</label>\n \n \n \n </header>\n \n <aio-toc class=\"embedded\"></aio-toc>\n\n <div class=\"api-body\">\n \n <section class=\"short-description\">\n <p>Representation of the current platform state.</p>\n\n \n </section>\n \n \n \n <section class=\"class-overview\">\n<code-example language=\"ts\" hidecopy=\"true\">\nclass <a href=\"api/platform-server/PlatformState\" class=\"code-anchor\">PlatformState</a> {\n <a class=\"code-anchor\" href=\"api/platform-server/PlatformState#renderToString\"><span class=\"member-name\">renderToString</span>(): string</a>\n <a class=\"code-anchor\" href=\"api/platform-server/PlatformState#getDocument\"><span class=\"member-name\">getDocument</span>(): any</a>\n}\n</code-example>\n\n \n \n\n</section>\n\n\n \n\n \n \n \n\n\n\n\n\n\n\n\n\n\n\n\n<section class=\"instance-methods\">\n <h2 id=\"methods\">Methods<a title=\"Link to this heading\" class=\"header-link\" aria-hidden=\"true\" href=\"api/platform-server/PlatformState#methods\"><i class=\"material-icons\">link</i></a></h2>\n \n <a id=\"renderToString\"></a>\n<table class=\"is-full-width method-table instance-method\">\n <thead><tr><th>\n <div class=\"with-github-links\">\n <h3 id=\"rendertostring\">\n renderToString()\n \n <a title=\"Link to this heading\" class=\"header-link\" aria-hidden=\"true\" href=\"api/platform-server/PlatformState#rendertostring\"><i class=\"material-icons\">link</i></a></h3>\n <div class=\"github-links\">\n <a href=\"https://github.com/angular/angular/edit/master/packages/platform-server/src/platform_state.ts?message=docs(platform-server)%3A%20describe%20your%20change...#L22-L28\" aria-label=\"Suggest Edits\" title=\"Suggest Edits\"><i class=\"material-icons\" aria-hidden=\"true\" role=\"img\">mode_edit</i></a>\n <a href=\"https://github.com/angular/angular/tree/12.0.0-next.7/packages/platform-server/src/platform_state.ts#L22-L28\" aria-label=\"View Source\" title=\"View Source\"><i class=\"material-icons\" aria-hidden=\"true\" role=\"img\">code</i></a>\n</div>\n </div>\n </th></tr></thead>\n <tbody>\n <tr>\n <td class=\"short-description\">\n <p>Renders the current state of the platform to string.</p>\n\n </td>\n </tr>\n \n <tr>\n <td>\n <div class=\"overload-info\">\n \n\n <code-example language=\"ts\" hidecopy=\"true\" class=\"no-box api-heading\"><span class=\"member-name\">renderToString</span>(): string</code-example>\n\n \n\n <h6 class=\"no-anchor\" id=\"parameters\">Parameters</h6>\n <p>There are no parameters.</p>\n\n \n <h6 class=\"no-anchor\" id=\"returns\">Returns</h6>\n <p><code>string</code></p>\n\n \n\n\n \n\n \n</div>\n </td>\n </tr>\n \n\n \n\n \n </tbody>\n</table>\n\n \n <a id=\"getDocument\"></a>\n<table class=\"is-full-width method-table instance-method\">\n <thead><tr><th>\n <div class=\"with-github-links\">\n <h3 id=\"getdocument\">\n getDocument()\n \n <a title=\"Link to this heading\" class=\"header-link\" aria-hidden=\"true\" href=\"api/platform-server/PlatformState#getdocument\"><i class=\"material-icons\">link</i></a></h3>\n <div class=\"github-links\">\n <a href=\"https://github.com/angular/angular/edit/master/packages/platform-server/src/platform_state.ts?message=docs(platform-server)%3A%20describe%20your%20change...#L29-L35\" aria-label=\"Suggest Edits\" title=\"Suggest Edits\"><i class=\"material-icons\" aria-hidden=\"true\" role=\"img\">mode_edit</i></a>\n <a href=\"https://github.com/angular/angular/tree/12.0.0-next.7/packages/platform-server/src/platform_state.ts#L29-L35\" aria-label=\"View Source\" title=\"View Source\"><i class=\"material-icons\" aria-hidden=\"true\" role=\"img\">code</i></a>\n</div>\n </div>\n </th></tr></thead>\n <tbody>\n <tr>\n <td class=\"short-description\">\n <p>Returns the current DOM state.</p>\n\n </td>\n </tr>\n \n <tr>\n <td>\n <div class=\"overload-info\">\n \n\n <code-example language=\"ts\" hidecopy=\"true\" class=\"no-box api-heading\"><span class=\"member-name\">getDocument</span>(): any</code-example>\n\n \n\n <h6 class=\"no-anchor\" id=\"parameters-1\">Parameters</h6>\n <p>There are no parameters.</p>\n\n \n <h6 class=\"no-anchor\" id=\"returns-1\">Returns</h6>\n <p><code>any</code></p>\n\n \n\n\n \n\n \n</div>\n </td>\n </tr>\n \n\n \n\n \n </tbody>\n</table>\n\n \n</section>\n\n\n\n \n\n\n </div>\n</article>\n\n<!-- links to this doc:\n - api/platform-server\n-->\n<!-- links from this doc:\n - /api\n - api/platform-server\n - api/platform-server/PlatformState#getDocument\n - api/platform-server/PlatformState#getdocument\n - api/platform-server/PlatformState#methods\n - api/platform-server/PlatformState#platformstate\n - api/platform-server/PlatformState#renderToString\n - api/platform-server/PlatformState#rendertostring\n - https://github.com/angular/angular/edit/master/packages/platform-server/src/platform_state.ts?message=docs(platform-server)%3A%20describe%20your%20change...#L13-L36\n - https://github.com/angular/angular/edit/master/packages/platform-server/src/platform_state.ts?message=docs(platform-server)%3A%20describe%20your%20change...#L22-L28\n - https://github.com/angular/angular/edit/master/packages/platform-server/src/platform_state.ts?message=docs(platform-server)%3A%20describe%20your%20change...#L29-L35\n - https://github.com/angular/angular/tree/12.0.0-next.7/packages/platform-server/src/platform_state.ts#L13-L36\n - https://github.com/angular/angular/tree/12.0.0-next.7/packages/platform-server/src/platform_state.ts#L22-L28\n - https://github.com/angular/angular/tree/12.0.0-next.7/packages/platform-server/src/platform_state.ts#L29-L35\n-->"
|
|
} |