Stateful Component Binding Prefixes
Right now when databinding properties from nested Stateful Components, all the property names need to be manually unique.
For example, if I have:
a Title component
a Subtitle component
a Button component
they may all have properties like:
size
opacity
gap
color
But when binding them upward into a parent ViewModel, I currently need to manually rename everything to:
titleSize
subtitleSize
buttonSize
etc.
It would be helpful if each Stateful Component instance had an optional binding prefix field.
Example:
Title component prefix = title
Subtitle component prefix = subtitle
Then when databinding, Rive would automatically create:
titleSize
titleOpacity
subtitleSize
subtitleOpacity
I imagine this right under the word ‘Properties’ as a special input to define the prefix. And when databinding (ideally with autobind) it just generates the uniquely created name.