Skip to content

captureRegime

captureRegime(roots, options?): ViewCapture

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

Capture one view’s worth of a component: the tree plus id-form rules, with the viewport width it was taken at. The caller (the dev client) derives the view interval and ships it off; capture is the single-view convenience on top.

readonly Element[]

CaptureRegimeOptions = {}

ViewCapture