René's URL Explorer Experiment


Title: Support for Dynamic Content Projection · Issue #8563 · angular/angular · GitHub

Open Graph Title: Support for Dynamic Content Projection · Issue #8563 · angular/angular

X Title: Support for Dynamic Content Projection · Issue #8563 · angular/angular

Description: Use Case allows for static (compile time resolution) projection of content. There are cases where the projection needs to be controlled programmatically. A common example is when the parent component would like to wrap/decor...

Open Graph Description: Use Case allows for static (compile time resolution) projection of content. There are cases where the projection needs to be controlled programmatically. A common example is when the p...

X Description: Use Case <ng-content> allows for static (compile time resolution) projection of content. There are cases where the projection needs to be controlled programmatically. A common example is when...

Opengraph URL: https://github.com/angular/angular/issues/8563

X: @github

direct link

Domain: github.com


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Support for Dynamic Content Projection","articleBody":"# Use Case\n\n`\u003cng-content>` allows for static (compile time resolution) projection of content. There are cases where the projection needs to be controlled programmatically. A common example is when the parent component would like to wrap/decorate the child components during projection.\n# Mental Model\n\nThe mental model would be that `\u003cng-content>` is for fast static projection, but for dynamic projection one would use a query to get a hold of the child components in the form of `ViewRef`s which could then be inserted programmatically at any location in the tree.\n# Possible Solution\n- `ContentViewRef` extends `ViewRef`\n- `@Content(selector)` Provides a way to select direct children content elements using CSS selectors. (This would be after directives such as `ngFor` would unroll the content, and it would be in the correct order.)\n- This would allow selection of elements rather than directives. These `ContentViewRef`s could then be reinserted to any `ViewContainerRef`\n- We would need `ngViewOutlet` (similar to `ngTemplateOutlet`).\n\n``` ts\n@Component({\n  template: `\n  \u003cdiv *ngFor=\"let view of allViews\">\n    \u003ctemplate ngViewOutlet=\"view\">\u003c/template>\n  \u003c/div>\n  \u003cng-content>\u003c!-- project non selected nodes, such as text nodes -->\u003c/ng-content>\n`\n})\nclass MySelect {\n  @Content('*') allViews: ContentViewRef[];\n\n  // another example\n  @Content('my-option') optionViews: ContentViewRef[];\n}\n```\n\n``` ts\n@Component({\n  selector: 'app',\n  template: `\n\u003cmy-select>\n     Option\n    \u003cmy-option>header\u003c/my-option>\n    \u003cmy-option *ngFor=\"let item in items\">unrolled items {{item}}\u003c/my-option>\n    \u003cmy-option-group>\n        \u003cmy-option>\n            foo \u003cb>bar\u003c/b>\n            \u003cother-directive />\n\u003c/my-option>\n        \u003cmy-separator>\u003c/my-separator>\n        \u003cmy-option>\u003c/my-option>\n\u003c/my-option-group>\n\u003c/my-select>\n`\n})\nclass App {}\n```\n","author":{"url":"https://github.com/mhevery","@type":"Person","name":"mhevery"},"datePublished":"2016-05-10T04:23:31Z","url":"https://github.com/angular/angular/issues/8563"}

react-profiling0
react-import-mapreact,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322
route-pattern/_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format)
route-controllervoltron_issues_fragments
route-actionissue_layout
fetch-noncev2:7c437ef6-b695-1b5a-6a30-77f4b9e78527
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-idED3E:882E2:155FB6A:1C27048:6B0124DA
html-safe-nonce138fc30ef58622da1f020f4cc800396881107bc0415df425525cbdfaaac45618
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFRDNFOjg4MkUyOjE1NUZCNkE6MUMyNzA0ODo2QjAxMjREQSIsInZpc2l0b3JfaWQiOiIxOTI3MjMxMzMxNjUwMDUzMzM4IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0=
visitor-hmacdf72ceb5aafbcb2980b496708306483d12b64eec90529eabe9d1fc2ba4724ade
hovercard-subject-tagissue:153921268
github-keyboard-shortcutsrepository,issues,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/issues_fragments/issue_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/angular/angular/8563/issue_layout
twitter:imagehttps://opengraph.githubassets.com/79e174b4875336cdf1f0320b6eeb79fc1c5f68f3f2d46cda03d742dc094fc827/angular/angular/issues/8563
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/79e174b4875336cdf1f0320b6eeb79fc1c5f68f3f2d46cda03d742dc094fc827/angular/angular/issues/8563
og:image:altUse Case allows for static (compile time resolution) projection of content. There are cases where the projection needs to be controlled programmatically. A common example is when the p...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamemhevery
hostnamegithub.com
expected-hostnamegithub.com
Nonecc5dfdd32f62ebd3223cab3af3aa2b268d3605218237326a48a99d1efd89495c
turbo-cache-controlno-preview
go-importgithub.com/angular/angular git https://github.com/angular/angular.git
octolytics-dimension-user_id139426
octolytics-dimension-user_loginangular
octolytics-dimension-repository_id24195339
octolytics-dimension-repository_nwoangular/angular
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id24195339
octolytics-dimension-repository_network_root_nwoangular/angular
turbo-body-classeslogged-out env-production page-responsive
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release8c77c9e8439031ad54c75a250694842892f693e1
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-nameissues

Links:

Skip to contenthttps://github.com/angular/angular/issues/8563#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fangular%2Fangular%2Fissues%2F8563
GitHubRepository hosting, code review, and collaborationhttps://github.com/platform
CopilotAI coding agent for tasks, projects, and automated workhttps://github.com/features/copilot
ActionsCI/CD and automationhttps://github.com/features/actions
Code QualityQuality analysis, fixes, and enforcementhttps://github.com/features/code-quality
CodespacesCloud development environmentshttps://github.com/features/codespaces
Code SecurityVulnerability detection and remediationhttps://github.com/security/advanced-security/code-security
Secret ProtectionSecret scanning and leak preventionhttps://github.com/security/advanced-security/secret-protection
All Featureshttps://github.com/features
Documentationhttps://docs.github.com/en
Traininghttps://learn.github.com/skills
Certificationshttps://learn.github.com/credentials
Build with Copilothttps://github.com/features/ai
Customize Copilothttps://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview
Integrationshttps://github.com/marketplace
Trending reposhttps://github.com/trending
GitHub Sponsorshttps://github.com/open-source/sponsors
Developer articleshttps://github.com/resources/articles
ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place.https://github.blog/changelog/
Enterpriseshttps://github.com/enterprise
Teamhttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
See all industrieshttps://github.com/solutions/industry
Why GitHubhttps://github.com/why-github
Customer Storieshttps://github.com/customer-stories
Business insightshttps://github.com/solutions/executive-insights
Trust Centerhttps://github.com/trust-center
GitHub Advanced SecurityEnterprise-grade code securityhttps://github.com/security/advanced-security
Copilot for businessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/enterprise/premium-support
Documentationhttps://docs.github.com/en
Resource centerhttps://github.com/resources
Bloghttps://github.blog/
Events & webinarshttps://github.com/resources/events
Community Forumhttps://github.com/orgs/community/discussions
Customer Storieshttps://github.com/customer-stories
Integrationshttps://github.com/marketplace
Customer supporthttps://help.github.com/
Traininghttps://learn.github.com/skills
GitHub Statushttps://www.githubstatus.com/
Abouthttps://github.com/about
Partnershttps://github.com/partners
Changeloghttps://github.blog/changelog/
GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub.https://githubuniverse.com/
Pricinghttps://github.com/pricing
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fangular%2Fangular%2Fissues%2F8563
Sign uphttps://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fissues_fragments%2Fissue_layout&source=header-repo&source_repo=angular%2Fangular
Reloadhttps://github.com/angular/angular/issues/8563
Reloadhttps://github.com/angular/angular/issues/8563
Reloadhttps://github.com/angular/angular/issues/8563
angularhttps://github.com/angular
angularhttps://github.com/angular/angular
Codehttps://github.com/angular/angular
Issues835 (835)https://github.com/angular/angular/issues
Pull requests141 (141)https://github.com/angular/angular/pulls
Discussionshttps://github.com/angular/angular/discussions
Actionshttps://github.com/angular/angular/actions
Projectshttps://github.com/angular/angular/projects
Security and quality40 (40)https://github.com/angular/angular/security
Insightshttps://github.com/angular/angular/insights
https://github.com/angular/angular
New issuehttps://github.com/login?return_to=https://github.com/angular/angular/issues/8563
New issuehttps://github.com/login?return_to=https://github.com/angular/angular/issues/8563
Support for Dynamic Content Projectionhttps://github.com/angular/angular/issues/8563#top
area: coreIssues related to the framework runtimehttps://github.com/angular/angular/issues?q=state%3Aopen%20label%3A%22area%3A%20core%22
core: content projectionhttps://github.com/angular/angular/issues?q=state%3Aopen%20label%3A%22core%3A%20content%20projection%22
featureLabel used to distinguish feature request from other issueshttps://github.com/angular/angular/issues?q=state%3Aopen%20label%3A%22feature%22
feature: under considerationFeature request for which voting has completed and the request is now under considerationhttps://github.com/angular/angular/issues?q=state%3Aopen%20label%3A%22feature%3A%20under%20consideration%22
state: Needs Designhttps://github.com/angular/angular/issues?q=state%3Aopen%20label%3A%22state%3A%20Needs%20Design%22
Backloghttps://github.com/angular/angular/milestone/82
https://github.com/mhevery
mheveryhttps://github.com/mhevery
on May 10, 2016https://github.com/angular/angular/issues/8563#issue-153921268
Nexthttps://github.com/angular/angular/issues/8563?timeline_page=1
mheveryhttps://github.com/mhevery
on May 10, 2016https://github.com/angular/angular/issues/8563#event-655257808
mheveryhttps://github.com/mhevery
state: Needs Designhttps://github.com/angular/angular/issues?q=state%3Aopen%20label%3A%22state%3A%20Needs%20Design%22
on May 10, 2016https://github.com/angular/angular/issues/8563#event-655257810
https://github.com/mhevery
mheveryhttps://github.com/mhevery
on May 10, 2016https://github.com/angular/angular/issues/8563#issuecomment-218055969
@tboschhttps://github.com/tbosch
@pkozlowski-opensourcehttps://github.com/pkozlowski-opensource
@Mlavalhttps://github.com/Mlaval
@vsavkinhttps://github.com/vsavkin
https://github.com/pkozlowski-opensource
pkozlowski-opensourcehttps://github.com/pkozlowski-opensource
on May 10, 2016https://github.com/angular/angular/issues/8563#issuecomment-218231284
@mheveryhttps://github.com/mhevery
@tboschhttps://github.com/tbosch
https://github.com/tbosch
tboschhttps://github.com/tbosch
on May 11, 2016https://github.com/angular/angular/issues/8563#issuecomment-218516447
https://github.com/tbosch
tboschhttps://github.com/tbosch
on May 11, 2016https://github.com/angular/angular/issues/8563#issuecomment-218516847
https://github.com/tbosch
tboschhttps://github.com/tbosch
on May 11, 2016https://github.com/angular/angular/issues/8563#issuecomment-218520662
https://github.com/tbosch
tboschhttps://github.com/tbosch
on May 11, 2016https://github.com/angular/angular/issues/8563#issuecomment-218533848
https://github.com/tbosch
tboschhttps://github.com/tbosch
on May 11, 2016https://github.com/angular/angular/issues/8563#issuecomment-218540382
https://github.com/pkozlowski-opensource
pkozlowski-opensourcehttps://github.com/pkozlowski-opensource
on May 11, 2016https://github.com/angular/angular/issues/8563#issuecomment-218565871
@tboschhttps://github.com/tbosch
https://github.com/tbosch
tboschhttps://github.com/tbosch
on May 11, 2016https://github.com/angular/angular/issues/8563#issuecomment-218576681
https://github.com/lacolaco
lacolacohttps://github.com/lacolaco
on May 13, 2016https://github.com/angular/angular/issues/8563#issuecomment-218956657
https://github.com/mhevery
mheveryhttps://github.com/mhevery
on May 13, 2016https://github.com/angular/angular/issues/8563#issuecomment-219163568
https://github.com/tbosch
tboschhttps://github.com/tbosch
on May 16, 2016https://github.com/angular/angular/issues/8563#issuecomment-219340434
@pkozlowski-opensourcehttps://github.com/pkozlowski-opensource
@mheveryhttps://github.com/mhevery
https://github.com/mhevery
mheveryhttps://github.com/mhevery
on May 16, 2016https://github.com/angular/angular/issues/8563#issuecomment-219562366
@tboschhttps://github.com/tbosch
https://github.com/waterplea
waterpleahttps://github.com/waterplea
on Dec 18, 2019https://github.com/angular/angular/issues/8563#issuecomment-566879349
@BenRacicothttps://github.com/BenRacicot
https://github.com/vthinkxie
vthinkxiehttps://github.com/vthinkxie
on Jan 20, 2020https://github.com/angular/angular/issues/8563#issuecomment-576236335
https://github.com/rocifier
rocifierhttps://github.com/rocifier
on Feb 10, 2020https://github.com/angular/angular/issues/8563#issuecomment-583950064
pkozlowski-opensourcehttps://github.com/pkozlowski-opensource
core: content projectionhttps://github.com/angular/angular/issues?q=state%3Aopen%20label%3A%22core%3A%20content%20projection%22
on Mar 6, 2020https://github.com/angular/angular/issues/8563#event-3105461989
https://github.com/dlebee
dlebeehttps://github.com/dlebee
on May 25, 2020https://github.com/angular/angular/issues/8563#issuecomment-633745677
https://github.com/ayslanjohnson
ayslanjohnsonhttps://github.com/ayslanjohnson
on Sep 22, 2020https://github.com/angular/angular/issues/8563#issuecomment-697024628
https://github.com/rocifier
rocifierhttps://github.com/rocifier
on Oct 20, 2020https://github.com/angular/angular/issues/8563#issuecomment-712544595
@ayslanjohnsonhttps://github.com/ayslanjohnson
@ContentChildrenhttps://github.com/ContentChildren
angular-robothttps://github.com/apps/angular-robot
feature: under considerationFeature request for which voting has completed and the request is now under considerationhttps://github.com/angular/angular/issues?q=state%3Aopen%20label%3A%22feature%3A%20under%20consideration%22
on Aug 13, 2021https://github.com/angular/angular/issues/8563#event-5155980574
https://github.com/davidpanic
davidpanichttps://github.com/davidpanic
on Feb 7, 2023https://github.com/angular/angular/issues/8563#issuecomment-1420586449
uses @ContentChildrenhttps://github.com/angular/components/blob/main/src/material/tabs/tab-group.ts#L533
https://github.com/alexdecoder
alexdecoderhttps://github.com/alexdecoder
on Apr 3, 2024https://github.com/angular/angular/issues/8563#issuecomment-2035701624
JeanMechehttps://github.com/JeanMeche
mheveryhttps://github.com/mhevery
on Nov 24, 2024https://github.com/angular/angular/issues/8563#event-15411867467
https://github.com/alxhub
alxhubhttps://github.com/alxhub
on Oct 17, 2025https://github.com/angular/angular/issues/8563#issuecomment-3416915030
alxhubhttps://github.com/alxhub
duplicatehttps://github.com/angular/angular/issues?q=is%3Aissue%20state%3Aclosed%20archived%3Afalse%20reason%3Aduplicate
Canonical: Content Projection #64504https://github.com/angular/angular/issues/64504
on Oct 17, 2025https://github.com/angular/angular/issues/8563#event-20351766489
https://github.com/apps/angular-automatic-lock-bot
angular-automatic-lock-bothttps://github.com/apps/angular-automatic-lock-bot
on Nov 17, 2025https://github.com/angular/angular/issues/8563#issuecomment-3539517316
automatic conversation locking policyhttps://github.com/angular/angular/blob/f0fbced1c55bc8b8ed9df01cea99df42f3e7eae3/contributing-docs/auto-issue-locking.md
angular-automatic-lock-bothttps://github.com/apps/angular-automatic-lock-bot
on Nov 17, 2025https://github.com/angular/angular/issues/8563#event-20975541038
Sign up for freehttps://github.com/signup?return_to=https://github.com/angular/angular/issues/8563
Sign in to commenthttps://github.com/login?return_to=https://github.com/angular/angular/issues/8563
area: coreIssues related to the framework runtimehttps://github.com/angular/angular/issues?q=state%3Aopen%20label%3A%22area%3A%20core%22
core: content projectionhttps://github.com/angular/angular/issues?q=state%3Aopen%20label%3A%22core%3A%20content%20projection%22
featureLabel used to distinguish feature request from other issueshttps://github.com/angular/angular/issues?q=state%3Aopen%20label%3A%22feature%22
feature: under considerationFeature request for which voting has completed and the request is now under considerationhttps://github.com/angular/angular/issues?q=state%3Aopen%20label%3A%22feature%3A%20under%20consideration%22
state: Needs Designhttps://github.com/angular/angular/issues?q=state%3Aopen%20label%3A%22state%3A%20Needs%20Design%22
BacklogNo due datehttps://github.com/angular/angular/milestone/82
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.