Content-Length: 249029 | pFad | http://github.com/angular/angular/pull/60850

9C docs: fix fallback content example in content projection guide by Rohit-byt · Pull Request #60850 · angular/angular · GitHub
Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

docs: fix fallback content example in content projection guide #60850

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

Rohit-byt
Copy link

docs: fix fallback content example for content projection with select="span"

What this PR does

This PR fixes a minor issue in the Content Projection guide on the Angular documentation site. Specifically, in the section about fallback content, the example:

 <div class="card-shadow">
    Hello
    <div class="card-divider"></div>

## Fix 
<ng-content select="span"><span>Hello</span></ng-content>

## Why this is important
This small fix avoids confusion for beginners trying to understand how select works with <ng-content>. It provides a more accurate and functional example of how fallback content should be structured.

This is my first PR if any mistake happens with understanding the problem or with the solution feel free to correct 
ThankYou.

Copy link

google-cla bot commented Apr 12, 2025

Thanks for your pull request! It looks like this may be your first contribution to a Google open source project. Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA).

View this failed invocation of the CLA check for more information.

For the most up to date status, view the checks section at the bottom of the pull request.

@pullapprove pullapprove bot requested a review from MarkTechson April 12, 2025 12:04
@angular-robot angular-robot bot added the area: docs Related to the documentation label Apr 12, 2025
@ngbot ngbot bot added this to the Backlog milestone Apr 12, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area: docs Related to the documentation
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant








ApplySandwichStrip

pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

Fetched URL: http://github.com/angular/angular/pull/60850

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy