Title: Support 'class' in hostAttributes · Issue #1774 · angular/angular · GitHub
Open Graph Title: Support 'class' in hostAttributes · Issue #1774 · angular/angular
X Title: Support 'class' in hostAttributes · Issue #1774 · angular/angular
Description: I want to simply add a css class to the host element of a directive (either @Component or @Directive): @Directive({ selector: 'md-input-container input', hostAttributes: { 'class': 'md-input' } }) Any hostProperties or user bindings shou...
Open Graph Description: I want to simply add a css class to the host element of a directive (either @Component or @Directive): @Directive({ selector: 'md-input-container input', hostAttributes: { 'class': 'md-input' } }) ...
X Description: I want to simply add a css class to the host element of a directive (either @Component or @Directive): @Directive({ selector: 'md-input-container input', hostAttributes: { 'class': ...
Opengraph URL: https://github.com/angular/angular/issues/1774
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Support 'class' in hostAttributes","articleBody":"I want to simply add a css class to the host element of a directive (either `@Component` or `@Directive`):\n\n``` js\n@Directive({\n selector: 'md-input-container input',\n hostAttributes: {\n 'class': 'md-input'\n }\n})\n```\n\nAny `hostProperties` or user bindings should be in _addition_ to these classes. In cases where there are collisions, the user defined binding should win.\n\n@mhevery @pkozlowski-opensource \n","author":{"url":"https://github.com/jelbourn","@type":"Person","name":"jelbourn"},"datePublished":"2015-05-08T23:15:52.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":4},"url":"https://github.com/1774/angular/issues/1774"}
| 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:7103118b-629d-90c8-30a4-e83b135c09c1 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | DC50:33F53B:30326D:409209:6A5FF076 |
| html-safe-nonce | b8b08710dd9e5db4951bce0f983f995c2e10c49224f7645e136bbf89b72b867c |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJEQzUwOjMzRjUzQjozMDMyNkQ6NDA5MjA5OjZBNUZGMDc2IiwidmlzaXRvcl9pZCI6IjkxMjE2Njk3MDQxNTExOTk4NjIiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 68cb13b9af6f41acb6c18e912e8da83f5c829a6859d7546ebf54b8cca76fb677 |
| hovercard-subject-tag | issue:74526466 |
| 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/1774/issue_layout |
| twitter:image | https://opengraph.githubassets.com/6657b8c812c93cdcdc844df2791cfc0c9be064c20815d0bbd7c1c96f6f3bd3ca/angular/angular/issues/1774 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/6657b8c812c93cdcdc844df2791cfc0c9be064c20815d0bbd7c1c96f6f3bd3ca/angular/angular/issues/1774 |
| og:image:alt | I want to simply add a css class to the host element of a directive (either @Component or @Directive): @Directive({ selector: 'md-input-container input', hostAttributes: { 'class': 'md-input' } }) ... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | jelbourn |
| hostname | github.com |
| expected-hostname | github.com |
| None | ba296ecd3a3521238fe43b3b3b08cc09207ddc21173e16ee656db03803de8e2b |
| 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 | 6e50fb37e29e4aa0df6386cb485e58b0e3ca97ab |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width