Skip to content

lit-ui-router-ssr / testing / stampServed

Function: stampServed() ​

ts
function stampServed(root): ServedStamp;

Defined in: packages/lit-ui-router-ssr/src/testing.ts:39

Stamps every element under root, descending into open shadow roots. root itself is not counted. Call it after the prerender is in the document and before the client boots.

Parameters ​

ParameterType
rootParentNode

Returns ​

ServedStamp