Angular: Why you should consider using template outlet instead of content projection.
Michał Pietraszko
294

How to get access to the children in rendered template?

Hi Michel, I’m agree with you, I prefer to use ngTemplateOutlet.

Only have a problem, how to get access to the rendered template children?

You can access to content via “ContentChildren” or view children using “ViewChildren”, but how to do using ngTemplateOutlet??

Show your support

Clapping shows how much you appreciated Javier Ros Moreno’s story.