lit-ui-router-ssr / RenderContext
Interface: RenderContext
Defined in: packages/lit-ui-router-ssr/src/prerender.ts:38
What a render hook is handed besides the verdict.
Properties
| Property | Type | Description | Defined in |
|---|---|---|---|
file | string | Path of the file this render becomes, relative to outDir. | packages/lit-ui-router-ssr/src/prerender.ts:44 |
path | string | The requested path. | packages/lit-ui-router-ssr/src/prerender.ts:40 |
root | EventTarget | The render's root event target — the one the router was provided on. | packages/lit-ui-router-ssr/src/prerender.ts:46 |
subpath | string | Path relative to the mount that owned it, '' at the mount root. | packages/lit-ui-router-ssr/src/prerender.ts:42 |