Good evening,
Is there a way to send the current component as a parameter to the child component?
<edit-toggle [editable]="this" ... ></edit-toggle>
I've worked around it by having a .asEditable() method on the abstract Editable class, which just returns this. I'm fine with this approach unless there's a way to more directly pass "this". It will help with some code reuse, but I'm also not in love with this approach, so if there's a better way (maybe construct a new, concrete Editable object in my component. But really what I'm signifying is that the component itself is editable). More discussion around this and the ideas behind it is also welcome, the app is young, paths can be nudged :)
Thanks for your help!
Jason