Let’s say I have something like this:
= parent-component = child-component property=property
It is bind so when I change it in one place it also updates in another.
But when parent has for example 10 properties in a table and wants to bind them all to child is it possible to do something like:
= parent-component = child-component table-of-properties=myTable
and then update parent property from child:
this.set(myTable, 'new string')
or should I do this in some different way?
I thought they get automatically bind if they exist in parent but it turned out I was wrong and when I have some property in parent and try to update it from child, it gets set separately for child and for parent.
EDIT: I figured I can do that almost-comfortably with positional params. I just want to know if it’s possible to have both positional and named params?