Title: Sugar (*) syntax does not support @Output (and exportAs) · Issue #12121 · angular/angular · GitHub
Open Graph Title: Sugar (*) syntax does not support @Output (and exportAs) · Issue #12121 · angular/angular
X Title: Sugar (*) syntax does not support @Output (and exportAs) · Issue #12121 · angular/angular
Description: I'm submitting a ... (check one with "x") [ x] bug report => search github for a similar issue or PR before submitting [ ] feature request [ ] support request => Please do not submit support request here, instead see https://github.com/a...
Open Graph Description: I'm submitting a ... (check one with "x") [ x] bug report => search github for a similar issue or PR before submitting [ ] feature request [ ] support request => Please do not submit support reques...
X Description: I'm submitting a ... (check one with "x") [ x] bug report => search github for a similar issue or PR before submitting [ ] feature request [ ] support request => Please do not s...
Opengraph URL: https://github.com/angular/angular/issues/12121
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Sugar (*) syntax does not support @Output (and exportAs)","articleBody":"**I'm submitting a ...** (check one with \"x\")\n\n```\n[ x] bug report => search github for a similar issue or PR before submitting\n[ ] feature request\n[ ] support request => Please do not submit support request here, instead see https://github.com/angular/angular/blob/master/CONTRIBUTING.md#question\n```\n\n**Current behavior**\nWhen using sugar syntax I couldn't find a way to register to `@Output`s.\nThe expression does not handle (output) and it's not possible to put the output on the element itself since that element is not the actual directive.\nI would also like to point out that `exportAs` is not supported in \\* directives.\n\n**Expected behavior**\nAllow to register to events on the directive.\n\n**What is the motivation / use case for changing the behavior?**\nSugared directives should be on par with regular directives (`@Output`, `exportAs`) as it might cause confusion. \nAt least support parsing output's on the expression.\n- **Angular version:** 2.0.1\n","author":{"url":"https://github.com/shlomiassaf","@type":"Person","name":"shlomiassaf"},"datePublished":"2016-10-06T15:16:39Z","url":"https://github.com/angular/angular/issues/12121"}
| 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:c71aeedf-9916-1437-17b2-dc1893d3a516 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | C4A6:1EC9BC:BE8A17:F4064F:6B00FD5F |
| html-safe-nonce | 3a86cb8c9c305919b279658e6854d75340c9e0a7cfa781999e70a4e4c9987036 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDNEE2OjFFQzlCQzpCRThBMTc6RjQwNjRGOjZCMDBGRDVGIiwidmlzaXRvcl9pZCI6IjUxNDIwNTgyMTcyMDcwMzcyNzkiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | f743470058e02a6944f991c7a7643ba01278a68ec17ea762545662d8a3784c0f |
| hovercard-subject-tag | issue:181444393 |
| 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/12121/issue_layout |
| twitter:image | https://opengraph.githubassets.com/5c20ff987eac298f7760bd0899681665b3a07ae9c63c7131cceebd9f1631e168/angular/angular/issues/12121 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/5c20ff987eac298f7760bd0899681665b3a07ae9c63c7131cceebd9f1631e168/angular/angular/issues/12121 |
| og:image:alt | I'm submitting a ... (check one with "x") [ x] bug report => search github for a similar issue or PR before submitting [ ] feature request [ ] support request => Please do not submit support reques... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | shlomiassaf |
| hostname | github.com |
| expected-hostname | github.com |
| None | e208d86428ec00a57ade75058166297440e8128a01e5287c31a53dc042bbf187 |
| 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 | 7dafd017fb7809a839c443dba08622af38e63c09 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
Viewport: width=device-width