lit-ui-router-ssr / testing / countRetained
Function: countRetained()
ts
function countRetained(stamp): RetainedCount;Defined in: packages/lit-ui-router-ssr/src/testing.ts:62
Counts which of the stamped elements are still under the stamp's root, and how many elements arrived beside them. A view the client rendered over instead of adopting counts its served elements as removed and its new ones as added.
Parameters
| Parameter | Type |
|---|---|
stamp | ServedStamp |