captureElement
captureElement(
roots,options):Plate
Defined in: packages/xray/src/core.ts:29
Capture a live DOM subtree straight to a renderable Plate — capture followed
by serializePlate in one call. roots are the top-level elements to capture
(a component’s rendered roots). Pass the result to a <Skeleton plate>.
Parameters
Section titled “Parameters”readonly Element[]