Skip to content

capture

capture(roots, options): MergedPlate

Defined in: packages/xray/src/serialize.ts:194

Capture the rendered subtree(s) under a Skeleton into a Plate. roots are the component’s top-level elements (the children of the layout-neutral wrapper); the synthetic root node (id 0) stands in for the wrapper itself.

readonly Element[]

CaptureOptions

MergedPlate