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
{{ message }}
This repository was archived by the owner on Dec 4, 2017. It is now read-only.
Searching for ng-content on https://angular.io/docs/ts/latest/ doesn't produce any useful results and if I'm not mistaken there is no any detailed description about what it is and how it works. There are quite some blog posts showing examples of using it. It creates a lot of confusion for users, see:
when using ViewEncapsulation.Emulated (and probably Native as well?) projected nodes will have encapsulation of the place, where they were created and not where, they are projected
how to query only subset of nodes using <ng-content select="<selector>">
document, that only top-level nodes can be selected by this approach
document a recipe with template, Tobias referring here to created projected nodes only when they are needed
PS During work on this issue, it may be good idea to also improve documentation of projectableNodes as they are tied to functionality discussed here.
artaommahe, sjclemmy, pralhadstha, lsa-shanghai, broth-eu and 51 moreggrabarz and ohralathe