Add relative referencing when binding to property keys in Perspective
n
nick.minchin
This comes from this topic:
It would be super handy to be able to use relative referencing for example for SVG elements, horizontal menu items, etc. when binding to these when they're inside of arrays.
E.g. in screenshot
Currently for the bindings on each array element, we have to manually set the array index.
It would be much simpler if we could replace
{this.props.items[5].label}
with this
{thisItem.label}
or for SVG elements e.g.
props.element[0:10].element[0:5].element[0:6].name
{thisItem.name}
{thisItem.parent.name}
{thisItem.element[2].name
Log In
j
jacob mann
Yes this would be super useful. We use large SVG files to build conveyor displays, and any functionality that can help navigate / address sub elements within the component element tree would be appreciated!