Skip to content

lit-ui-router-ssr / lit-ui-router-ssr / RenderContext

Interface: RenderContext ​

Defined in: packages/lit-ui-router-ssr/src/prerender.ts:104

What a render hook is handed besides the verdict.

Extends ​

  • RenderContext

Properties ​

PropertyTypeDescriptionInherited fromDefined in
filestringPath of the file this render becomes, relative to outDir.SiteRenderContext.filepackages/ui-router-server/dist/prerender.d.ts:41
pathstringThe requested path.SiteRenderContext.pathpackages/ui-router-server/dist/prerender.d.ts:37
rootEventTargetThe render's root event target — the one the router was provided on.-packages/lit-ui-router-ssr/src/prerender.ts:106
subpathstringPath relative to the mount that owned it, '' at the mount root.SiteRenderContext.subpathpackages/ui-router-server/dist/prerender.d.ts:39