I would like to create a dialog component with multiple HTML parts:
<my-dialog>
<content>
Here is first HTML content
</content>
<buttons>
Here is second HTML content with a list of button HTML elements
</buttons>
</my-dialog>
My question is if the my-dialog
component can have the content
and buttons
parts directly as some templates parts or whether I need to create separate components for content
and buttons
parts.
Update: This question can be closed, as duplicate of Multiple ng-content.