Skip to content

Commit 7def0d8

Browse files
committed
Add content projection and ng-content questions
1 parent da280e7 commit 7def0d8

File tree

1 file changed

+8
-3
lines changed

1 file changed

+8
-3
lines changed

README.md

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -297,8 +297,8 @@ You can download the PDF and Epub version of this repository from the latest run
297297
|271| [How do you get the current route?](#how-do-you-get-the-current-route)|
298298
|272| [What is Component Test Harnesses?](#what-is-component-test-harnesses)|
299299
|273| [What is the benefit of Automatic Inlining of Fonts?](#what-is-the-benefit-of-automatic-inlining-of-fonts)|
300-
|274| [](#)|
301-
|275| [](#)|
300+
|274| [What is content projection?](#what-is-content-projection)|
301+
|275| [What is ng-content and its purpose?](#what-is-ng-content-and-its-purpose)|
302302
|276| [](#)|
303303

304304
1. ### What is Angular Framework?
@@ -4574,4 +4574,9 @@ You can download the PDF and Epub version of this repository from the latest run
45744574
273. ### What is the benefit of Automatic Inlining of Fonts?
45754575
During compile time, Angular CLI will download and inline the fonts that your application is using. This performance update speed up the first contentful paint(FCP) and this feature is enabled by default in apps built with version 11.
45764576
4577-
**[⬆ Back to Top](#table-of-contents)**
4577+
**[⬆ Back to Top](#table-of-contents)**
4578+
4579+
274. ### What is content projection?
4580+
Content projection is a pattern in which you insert, or project, the content you want to use inside another component.
4581+
275. ### What is ng-content and its purpose?
4582+
The ng-content is used to insert the content dynamically inside the component that helps to increase component reusability.

0 commit comments

Comments
 (0)