5 min read
•Question 20 of 46mediumContent Projection
Passing content into components.
Content Projection Types
1. Single-slot
Basic ng-content usage.
2. Multi-slot
Named slots with select attribute.
3. Conditional
Using ngProjectAs directive.
Passing content into components.
Basic ng-content usage.
Named slots with select attribute.
Using ngProjectAs directive.