René's URL Explorer Experiment


Title: feat: ng-descendant - content projection between ancestors and descendant classes · Issue #13766 · angular/angular · GitHub

Open Graph Title: feat: ng-descendant - content projection between ancestors and descendant classes · Issue #13766 · angular/angular

X Title: feat: ng-descendant - content projection between ancestors and descendant classes · Issue #13766 · angular/angular

Description: I'm submitting a ... (check one with "x") [x] feature request Problem Inspired by #13757 The template provided by an ancestor component is not useful to a descendant component since its content cannot be reference nor can it be used to b...

Open Graph Description: I'm submitting a ... (check one with "x") [x] feature request Problem Inspired by #13757 The template provided by an ancestor component is not useful to a descendant component since its content can...

X Description: I'm submitting a ... (check one with "x") [x] feature request Problem Inspired by #13757 The template provided by an ancestor component is not useful to a descendant component since i...

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

X: @github

direct link

Domain: github.com


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"feat: ng-descendant - content projection between ancestors and descendant classes","articleBody":"**I'm submitting a ...**  (check one with \"x\")\r\n```\r\n[x] feature request\r\n```\r\n\r\n**Problem**\r\n\r\n> Inspired by #13757 \r\n\r\nThe template provided by an ancestor component is not useful to a descendant component since its content cannot be reference nor can it be used to build the descendant (even with #13764). This limits the usefulness of inheritance as a model for building components.\r\n\r\n**Proposal**\r\n\r\nAdd a pseudo-element called `ng-descendant` that can be used analogously to `ng-content` except that the content is from the descendant class' template instead of instantiating template.\r\n\r\nDescendant components are required to use an `ng-extend` elements that contains the content that is projected into the ancestor template. If the descendant does not use an `ng-extend` element as the root element of its template then its template will replace the ancestor template instead of extending it.\r\n\r\n**Example**\r\n\r\n```ts\r\n@Component({\r\n  template: `\r\n    \u003ch1>\u003cng-descendant select=\".header\">\u003c/ng-descendant>\u003c/h1>\r\n    \u003cng-descendant select=\".body\">\u003c/ng-descendant>\r\n    \u003cdiv>\r\n      \u003cng-descendant select=\".footer\">\u003c/ng-descendant>\r\n    \u003c/div>`\r\n})\r\nclass BaseClass {\r\n}\r\n\r\n@Component({\r\n  template: `\r\n    \u003cng-extend>\r\n      \u003cspan class=\"header\">My Component\u003c/span>\r\n      \u003cspan class=\"body\">Body of the component\u003c/span>\r\n      \u003cspan class=\"footer\">Footer of the component\u003c/span>\r\n    \u003c/ng-extend>`  \r\n})\r\nclass MyComponent extends BaseClass {\r\n}\r\n```\r\n\r\nThis would be interpreted as if `MyComponent` had been written as:\r\n\r\n```ts\r\n@Component({\r\n    template: `\r\n    \u003ch1>\u003cspan class=\"header\">My Component\u003c/span>\u003c/h1>\r\n    \u003cspan class=\"body\">Body of the component\u003c/span>\r\n    \u003cdiv>\r\n       \u003cspan class=\"footer\">Footer of the component\u003c/span>\r\n    \u003c/div>`\r\n})\r\nclass MyComponent extends BaseClass {\r\n}\r\n```","author":{"url":"https://github.com/chuckjaz","@type":"Person","name":"chuckjaz"},"datePublished":"2017-01-04T00:19:48Z","url":"https://github.com/angular/angular/issues/13766"}

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:37987d12-f513-53ec-108b-212bf084af64
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-idDE1C:317608:7B0BB9:9D9E03:6B00E565
html-safe-nonce3c4764fb55cbcbcf7a486471d84b839697b717ecd41256b334cb6d7f0a3c068f
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJERTFDOjMxNzYwODo3QjBCQjk6OUQ5RTAzOjZCMDBFNTY1IiwidmlzaXRvcl9pZCI6IjQzMTcxMzcxMzI5OTgxNTc2NjkiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmac8de75a93fce6c6e282efe5c129da63a15b21cec7c14ed50282f15f82470f7421
hovercard-subject-tagissue:198602685
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/13766/issue_layout
twitter:imagehttps://opengraph.githubassets.com/ea2e91e8344d88bb7f38174f41d5f66736de91bff8fc0ffe58c1532257be5d70/angular/angular/issues/13766
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/ea2e91e8344d88bb7f38174f41d5f66736de91bff8fc0ffe58c1532257be5d70/angular/angular/issues/13766
og:image:altI'm submitting a ... (check one with "x") [x] feature request Problem Inspired by #13757 The template provided by an ancestor component is not useful to a descendant component since its content can...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamechuckjaz
hostnamegithub.com
expected-hostnamegithub.com
None27088b6977484d0d3321d9a11c907c6d6637b315cfa359ef7952dbf6292f9b14
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
release624179fb8b88d26ba5bba08894eb60a1c5a1d93d
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-nameissues

Links:

Skip to contenthttps://github.com/angular/angular/issues/13766#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fangular%2Fangular%2Fissues%2F13766
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%2F13766
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/13766
Reloadhttps://github.com/angular/angular/issues/13766
Reloadhttps://github.com/angular/angular/issues/13766
angularhttps://github.com/angular
angularhttps://github.com/angular/angular
Codehttps://github.com/angular/angular
Issues835 (835)https://github.com/angular/angular/issues
Pull requests140 (140)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/13766
New issuehttps://github.com/login?return_to=https://github.com/angular/angular/issues/13766
feat: ng-descendant - content projection between ancestors and descendant classeshttps://github.com/angular/angular/issues/13766#top
area: coreIssues related to the framework runtimehttps://github.com/angular/angular/issues?q=state%3Aopen%20label%3A%22area%3A%20core%22
core: component extension and customizationhttps://github.com/angular/angular/issues?q=state%3Aopen%20label%3A%22core%3A%20component%20extension%20and%20customization%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/chuckjaz
chuckjazhttps://github.com/chuckjaz
on Jan 4, 2017https://github.com/angular/angular/issues/13766#issue-198602685
#13757https://github.com/angular/angular/issues/13757
#13764https://github.com/angular/angular/issues/13764
Nexthttps://github.com/angular/angular/issues/13766?timeline_page=1
https://github.com/asfernandes
asfernandeshttps://github.com/asfernandes
on Jan 4, 2017https://github.com/angular/angular/issues/13766#issuecomment-270264404
#13757https://github.com/angular/angular/issues/13757
https://github.com/chuckjaz
chuckjazhttps://github.com/chuckjaz
on Jan 4, 2017https://github.com/angular/angular/issues/13766#issuecomment-270264677
https://github.com/chuckjaz
chuckjazhttps://github.com/chuckjaz
on Jan 4, 2017https://github.com/angular/angular/issues/13766#issuecomment-270265224
https://github.com/vicb
vicbhttps://github.com/vicb
on Jan 4, 2017https://github.com/angular/angular/issues/13766#issuecomment-270291879
@chuckjazhttps://github.com/chuckjaz
@asfernandeshttps://github.com/asfernandes
vicbhttps://github.com/vicb
area: coreIssues related to the framework runtimehttps://github.com/angular/angular/issues?q=state%3Aopen%20label%3A%22area%3A%20core%22
featureLabel used to distinguish feature request from other issueshttps://github.com/angular/angular/issues?q=state%3Aopen%20label%3A%22feature%22
state: Needs Designhttps://github.com/angular/angular/issues?q=state%3Aopen%20label%3A%22state%3A%20Needs%20Design%22
on Jan 4, 2017https://github.com/angular/angular/issues/13766#event-910724388
https://github.com/asfernandes
asfernandeshttps://github.com/asfernandes
on Jan 4, 2017https://github.com/angular/angular/issues/13766#issuecomment-270329335
https://github.com/chuckjaz
chuckjazhttps://github.com/chuckjaz
on Jan 4, 2017https://github.com/angular/angular/issues/13766#issuecomment-270423164
@asfernandeshttps://github.com/asfernandes
https://github.com/szanellato93
szanellato93https://github.com/szanellato93
on Dec 12, 2017https://github.com/angular/angular/issues/13766#issuecomment-351092576
@vicbhttps://github.com/vicb
https://stackblitz.com/edit/ng-content-projection-lzjweahttps://stackblitz.com/edit/ng-content-projection-lzjwea
https://stackoverflow.com/questions/47773136/angular-2-include-component-html-in-a-component-inherited-templatehttps://stackoverflow.com/questions/47773136/angular-2-include-component-html-in-a-component-inherited-template
https://github.com/mlc-mlapis
mlc-mlapishttps://github.com/mlc-mlapis
on Dec 12, 2017https://github.com/angular/angular/issues/13766#issuecomment-351096415
@szanellato93https://github.com/szanellato93
https://github.com/mlc-mlapis
mlc-mlapishttps://github.com/mlc-mlapis
on Dec 12, 2017https://github.com/angular/angular/issues/13766#issuecomment-351098511
@szanellato93https://github.com/szanellato93
https://github.com/szanellato93
szanellato93https://github.com/szanellato93
on Dec 12, 2017https://github.com/angular/angular/issues/13766#issuecomment-351100014
@mlc-mlapishttps://github.com/mlc-mlapis
https://github.com/mlc-mlapis
mlc-mlapishttps://github.com/mlc-mlapis
on Dec 12, 2017https://github.com/angular/angular/issues/13766#issuecomment-351107014
@szanellato93https://github.com/szanellato93
https://github.com/listepo
listepohttps://github.com/listepo
on Jan 19, 2018https://github.com/angular/angular/issues/13766#issuecomment-358826053
@chuckjazhttps://github.com/chuckjaz
https://github.com/ErliSoares
ErliSoareshttps://github.com/ErliSoares
on May 25, 2018https://github.com/angular/angular/issues/13766#issuecomment-392088556
https://github.com/inspirassion
inspirassionhttps://github.com/inspirassion
on Jul 3, 2018https://github.com/angular/angular/issues/13766#issuecomment-402065634
https://github.com/lambidu
lambiduhttps://github.com/lambidu
on Jul 26, 2018https://github.com/angular/angular/issues/13766#issuecomment-408218024
https://github.com/dalepo
dalepohttps://github.com/dalepo
on Aug 24, 2018https://github.com/angular/angular/issues/13766#issuecomment-415612652
https://github.com/abadakhshan
abadakhshanhttps://github.com/abadakhshan
on Jan 13, 2020https://github.com/angular/angular/issues/13766#issuecomment-573524715
Narikhttps://github.com/NarikMe/narik-angular/wiki/04.-UI-Layout
pkozlowski-opensourcehttps://github.com/pkozlowski-opensource
core: component extension and customizationhttps://github.com/angular/angular/issues?q=state%3Aopen%20label%3A%22core%3A%20component%20extension%20and%20customization%22
on Mar 10, 2020https://github.com/angular/angular/issues/13766#event-3116098705
https://github.com/Suresh918
Suresh918https://github.com/Suresh918
on Apr 23, 2020https://github.com/angular/angular/issues/13766#issuecomment-618722675
@componenthttps://github.com/component
@componenthttps://github.com/component
https://github.com/jaqx0r
jaqx0rhttps://github.com/jaqx0r
on Mar 3, 2021https://github.com/angular/angular/issues/13766#issuecomment-789428363
https://blog.angular-university.io/angular-ng-template-ng-container-ngtemplateoutlet/https://blog.angular-university.io/angular-ng-template-ng-container-ngtemplateoutlet/
https://github.com/lzilioli
lziliolihttps://github.com/lzilioli
on May 20, 2021https://github.com/angular/angular/issues/13766#issuecomment-845262252
https://github.com/lzilioli/extend-to-templatehttps://github.com/lzilioli/extend-to-template
petebacondarwinhttps://github.com/petebacondarwin
on May 21, 2021https://github.com/angular/angular/issues/13766#event-4778998860
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 Jun 4, 2021https://github.com/angular/angular/issues/13766#event-4843540195
https://github.com/jessicajaniuk
jessicajaniukhttps://github.com/jessicajaniuk
on Feb 15, 2022https://github.com/angular/angular/issues/13766#issuecomment-1039721252
#37319https://github.com/angular/angular/issues/37319
jessicajaniukhttps://github.com/jessicajaniuk
completedhttps://github.com/angular/angular/issues?q=is%3Aissue%20state%3Aclosed%20archived%3Afalse%20reason%3Acompleted
on Feb 15, 2022https://github.com/angular/angular/issues/13766#event-6071150704
https://github.com/apps/angular-automatic-lock-bot
angular-automatic-lock-bothttps://github.com/apps/angular-automatic-lock-bot
on Mar 18, 2022https://github.com/angular/angular/issues/13766#issuecomment-1072562874
automatic conversation locking policyhttps://github.com/angular/angular/blob/8f24bc9443b3872fe095d9f7f77b308a361a13b4/docs/GITHUB_PROCESS.md#conversation-locking
angular-automatic-lock-bothttps://github.com/apps/angular-automatic-lock-bot
on Mar 18, 2022https://github.com/angular/angular/issues/13766#event-6267287548
Sign up for freehttps://github.com/signup?return_to=https://github.com/angular/angular/issues/13766
Sign in to commenthttps://github.com/login?return_to=https://github.com/angular/angular/issues/13766
area: coreIssues related to the framework runtimehttps://github.com/angular/angular/issues?q=state%3Aopen%20label%3A%22area%3A%20core%22
core: component extension and customizationhttps://github.com/angular/angular/issues?q=state%3Aopen%20label%3A%22core%3A%20component%20extension%20and%20customization%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.