Skip to content

ViewCapture

Defined in: packages/xray/src/plate.ts:133

One capture of a component within one viewport view — [min, max) in px, either side open-ended when undefined. What the dev client ships to the plugin, and what the plate file accumulates (ADR 0004).

optional max?: number

Defined in: packages/xray/src/plate.ts:137


optional min?: number

Defined in: packages/xray/src/plate.ts:136


rules: PlateRule[]

Defined in: packages/xray/src/plate.ts:139


tree: PlateNode

Defined in: packages/xray/src/plate.ts:138


width: number

Defined in: packages/xray/src/plate.ts:135

Viewport width at capture time.