Canvas binding as a Svelte action: <canvas use:preview.canvas />.
Capture the current view as an image Blob (DD-030 D1, DD-031 G5) — handle-level parity with the
Web Component's capture(). Also reachable as controls.capture. Rejects on the 2D renderer.
Optionalopts: CaptureOptionsOptionalopts: WireParseOptions
Store-contract state: subscribers receive the current snapshot immediately, then every replacement —
$preview.stateworks in components.