Content Projection in Angular Element with Slot in Angular 7.0

added by DotNetKicks
12/18/2018 2:15:35 PM

2 Kicks, 459 Views

In this article, we will learn how to project content in an Angular Element. If you are unfamiliar with the following, Shadow Dom ViewEncapsulation Content Projection I recommend you read the articles below before moving forward: Understanding ViewEncapsulation in Angular Simplifying Content Projection in Angular As of now, you know that we use ng-content to carry...