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 has been archived by the owner on Dec 4, 2017. It is now read-only.
The documentation & styleguide has no guidance for how to do a selector for multiple content projection slots. What is the "best practice" for selectors for multiple content projection?
Given the following:
...
</>
...
</>
and then in the projected component I would have:
<ng-content select="[my-title]" ...
<ng-content select="[my-body]" ....
But any selector can work. i.e. class selectors, given the right change to the HTML.
<ng-content select=".my-title" ...
<ng-content select=".my-body" ....
The documentation & styleguide has no guidance for how to do a selector for multiple content projection slots. What is the "best practice" for selectors for multiple content projection?
Given the following:
...
</>
...
</>
and then in the projected component I would have:
<ng-content select="[my-title]" ...
<ng-content select="[my-body]" ....
But any selector can work. i.e. class selectors, given the right change to the HTML.
<ng-content select=".my-title" ...
<ng-content select=".my-body" ....
Or something else?
The styleguide should recommend a best practice.
@IgorMinar @wardbell @johnpapa
The text was updated successfully, but these errors were encountered: