- Add headless PropertySection and accessible SegmentedControl anatomy - Make PropertyList controlled and exactly typed with an undo-aware editor adapter - Consolidate SDK metadata loaders and link untranslated docs to canonical pages
687 B
687 B
| title | description |
|---|---|
| usePropertyList | Primitive context helper for PropertyListRoot descendants. |
usePropertyList
usePropertyList() reads the local property-list context provided by PropertyListRoot.
Use it inside descendants that need controlled items, mixed-state information, or row-level handlers for fills, strokes, or effects. It does not access an editor.
OpenPencil editor panels can use useEditorPropertyList(propKey) in an adapter component to connect the controlled primitive to selection, undo batching, and multi-node mutations.