Skip to content

CaptureOptions

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

Browser-side capture: walk a live rendered subtree into a Plate — one node tree plus one self-contained, scoped CSS string (ADR 0003). The CSS is lifted from the author rules that matched each node, rewritten to plate-local selectors — it carries @media for free and keeps layout live (the M1 bake-off winner; ADR 0005).

name: string

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

Plate name; comes from the virtual-module specifier.