Title: Allow dynamic ng-content select · Issue #71813 · angular/angular · GitHub
Open Graph Title: Allow dynamic ng-content select · Issue #71813 · angular/angular
X Title: Allow dynamic ng-content select · Issue #71813 · angular/angular
Description: Which @angular/* package(s) are relevant/related to the feature request? common Description Allow ng-content's select attribute to apply to dynamically-set classes or attributes. Currently, if in the app-comp component I have Open Graph Description: Which @angular/* package(s) are relevant/related to the feature request? common Description Allow ng-content's select attribute to apply to dynamically-set classes or attributes. Currently, if in t...
X Description: Which @angular/* package(s) are relevant/related to the feature request? common Description Allow ng-content's select attribute to apply to dynamically-set classes or attributes. Currently, if ...
Opengraph URL: https://github.com/angular/angular/issues/71813
X: @github
Domain: github.com
Links:
Viewport: width=device-width
Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Allow dynamic ng-content select","articleBody":"### Which @angular/* package(s) are relevant/related to the feature request?\n\ncommon\n\n### Description\n\nAllow `ng-content`'s `select` attribute to apply to dynamically-set classes or attributes.\n\nCurrently, if in the `app-comp` component I have `\u003cng-content/>\u003cdiv>\u003cng-content select=\"within\" />\u003c/div>`, and elsewhere I have `\u003capp-comp>\u003cspan [class.within]=\"this.isWithin()\">\u003c/span>\u003c/app-comp>`, whatever isWithin() returns, the span will end up in the outer ng-content, not in the inner one.\n\n### Proposed solution\n\nIt will probably be a costly operation, and it will change existing behavior, so it could/should be enabled by a flag in the `@Component` decorator of the host component, app-comp in my example.\n\n### Alternatives considered\n\nsee also #71811","author":{"url":"https://github.com/Gouvernathor","@type":"Person","name":"Gouvernathor"},"datePublished":"2026-11-04T19:03:25Z","url":"https://github.com/angular/angular/issues/71813"}
react-profiling 0 react-import-map react,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-controller voltron_issues_fragments route-action issue_layout fetch-nonce v2:768a1cb2-8664-1e84-aa44-48707f1aeb73 current-catalog-service-hash 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 request-id D52E:3F8AB1:1987CF4:207EA1D:6B0130FA html-safe-nonce b65468969fd39631c3c598da0c636a2c7530963578f6e7827bb56e9d2747c3b8 visitor-payload eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJENTJFOjNGOEFCMToxOTg3Q0Y0OjIwN0VBMUQ6NkIwMTMwRkEiLCJ2aXNpdG9yX2lkIjoiNDI4Nzc1NDkzNjk0Mzg0NTgiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== visitor-hmac 3659dfe795950ac9b17a2e5b23db8a3c4865940006aa094617c4a34a2600676a hovercard-subject-tag issue:6209442122 github-keyboard-shortcuts repository,issues,copilot google-site-verification Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I octolytics-url https://collector.github.com/github/collect analytics-location / fb:app_id 1401488693436528 apple-itunes-app app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/angular/angular/71813/issue_layout twitter:image https://opengraph.githubassets.com/c91d18bc2713439e119beedda1d7a24f4d747168ecd65e21e0ced8466aaa010b/angular/angular/issues/71813 twitter:card summary_large_image og:image https://opengraph.githubassets.com/c91d18bc2713439e119beedda1d7a24f4d747168ecd65e21e0ced8466aaa010b/angular/angular/issues/71813 og:image:alt Which @angular/* package(s) are relevant/related to the feature request? common Description Allow ng-content's select attribute to apply to dynamically-set classes or attributes. Currently, if in t... og:image:width 1200 og:image:height 600 og:site_name GitHub og:type object og:author:username Gouvernathor hostname github.com expected-hostname github.com None cc5dfdd32f62ebd3223cab3af3aa2b268d3605218237326a48a99d1efd89495c turbo-cache-control no-preview go-import github.com/angular/angular git https://github.com/angular/angular.git octolytics-dimension-user_id 139426 octolytics-dimension-user_login angular octolytics-dimension-repository_id 24195339 octolytics-dimension-repository_nwo angular/angular octolytics-dimension-repository_public true octolytics-dimension-repository_is_fork false octolytics-dimension-repository_network_root_id 24195339 octolytics-dimension-repository_network_root_nwo angular/angular turbo-body-classes logged-out env-production page-responsive disable-turbo false browser-stats-url https://api.github.com/_private/browser/stats browser-errors-url https://api.github.com/_private/browser/errors release 8c77c9e8439031ad54c75a250694842892f693e1 ui-target full theme-color #1e2327 color-scheme light dark react-app-name issues
URLs of crawlers that visited me.