You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm using context to be able to have different inputs to my dynamic components. Is there a way to do the same for outputs? I don't know what my outputs will be ahead of time. This is fine for inputs but I can't figure it out for outputs
If you want to use outputs binding you have to create that outputs in the component where you are using *ngxComponentOutlet. You can't create outputs dynamically.
The best case of usage witch it's creating a base component with inputs and outputs, and then it is inherited by dynamic components and adaptee component.
It was cool and it worked but I think it would actually be too restrictive maybe and like you said I would have to create wrapper components for any that I wanted to use.
I ended up going with a content projection based approach instead. It turned out to be much simpler to implement and more flexible. That's probably why most other table components work that way. It was definitely a cool experiment and I really enjoyed using the library :)
I'm using context to be able to have different inputs to my dynamic components. Is there a way to do the same for outputs? I don't know what my outputs will be ahead of time. This is fine for inputs but I can't figure it out for outputs
I'm building a table component that can take either values or components as data. Wondering how to bind outputs
The text was updated successfully, but these errors were encountered: