openpencil/packages/docs/programmable/sdk/api/components/scrub-input-display.md
2026-03-24 23:24:08 +03:00

716 B

title description
ScrubInputDisplay Read-only display primitive for ScrubInputRoot non-editing mode.

ScrubInputDisplay

ScrubInputDisplay renders the non-editing display for ScrubInputRoot.

It only renders while the scrub input is not in editing mode.

Usage

Use it inside a ScrubInputRoot subtree.

Props and attrs

Passed through to the rendered span element.

Example

<ScrubInputRoot v-model:model-value="value">
  <ScrubInputDisplay class="cursor-ew-resize" />
</ScrubInputRoot>