- Remove ScrubInput aliases, app wrappers, test hooks, and translated legacy references - Share a Tailwind NumberField demo between Storybook and VitePress - Generate component API tables from Vue metadata and type-check examples with Twoslash - Upgrade the docs stack to VitePress 2
16 lines
449 B
Markdown
16 lines
449 B
Markdown
---
|
|
title: usePropScrub
|
|
description: Low-level helper for drag-to-scrub property updates with commit support.
|
|
---
|
|
|
|
# usePropScrub
|
|
|
|
`usePropScrub(editor)` coordinates live property updates during scrubbing and commits undo-aware changes when the interaction finishes.
|
|
|
|
Use it when building numeric controls that scrub selected node properties directly.
|
|
|
|
## Related APIs
|
|
|
|
- [NumberField](../components/number-field)
|
|
- [useNodeProps](./use-node-props)
|