Good afternoon,
I'm using the 'Dashboard' component for Angular, my question is how to 'inject' an angular HTML component that I created in the 'content' property of the 'panels'?
Example:
teste.component.html: where you have your html content
teste.component.scss: where is your css
This component is called test-component.
There's a way in the 'content' of the 'panels' to look like this:
public panels: any = [{'id':'Panel0', 'sizeX': 1, 'sizeY': 1, 'row': 0, 'col': 0, header:'<div>Panel 0</div >', content:'<test-component></test-component>'}]
I tried this way and I couldn't, is there any way to be like this? Thinking about angular, which is fully componentized and reusable, that would be a big help.
Thanks and looking forward to a solution.