openpencil/packages/docs/programmable/sdk/api/advanced/use-property-list.md

16 lines
465 B
Markdown
Raw Normal View History

---
title: usePropertyList
description: Primitive context helper for PropertyListRoot descendants.
---
# usePropertyList
`usePropertyList()` reads the local property-list context provided by `PropertyListRoot`.
Use it inside descendants that need current items, mixed-state info, or row-level handlers for fills, strokes, or effects.
## Related APIs
- [PropertyListRoot](../components/property-list-root)
- [PropertyListItem](../components/property-list-item)