Title: Animation events in HostListeners aren't supported in Angular Elements (yet?) · Issue #22117 · angular/angular · GitHub
Open Graph Title: Animation events in HostListeners aren't supported in Angular Elements (yet?) · Issue #22117 · angular/angular
X Title: Animation events in HostListeners aren't supported in Angular Elements (yet?) · Issue #22117 · angular/angular
Description: Regression (a behavior that used to work and stopped working in a new release) Bug report Feature request Documentation issue or request Support request Could be considered a bug, but also a feature. You decide 😄 Current behavior Angular...
Open Graph Description: Regression (a behavior that used to work and stopped working in a new release) Bug report Feature request Documentation issue or request Support request Could be considered a bug, but also a featur...
X Description: Regression (a behavior that used to work and stopped working in a new release) Bug report Feature request Documentation issue or request Support request Could be considered a bug, but also a featur...
Opengraph URL: https://github.com/angular/angular/issues/22117
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Animation events in HostListeners aren't supported in Angular Elements (yet?)","articleBody":"- [ ] Regression (a behavior that used to work and stopped working in a new release)\r\n- [x] Bug report \u003c!-- Please search GitHub for a similar issue or PR before submitting -->\r\n- [x] Feature request\r\n- [ ] Documentation issue or request\r\n- [ ] Support request \r\n\r\nCould be considered a bug, but also a feature. You decide 😄 \r\n\r\n## Current behavior\r\n\r\nAngular component with built-in animations using Angular animation events in components host listeners aren't supported. For example Assuming a component with animation events like this:\r\n\r\n```\r\nhost: {\r\n '(@transform)': 'doSomethign',\r\n '(@transform.start)': 'doSomethignElse'\r\n}\r\n```\r\nWon't be triggered by the resulting Angular Element of this component. While native host listener will work. E.g.\r\n\r\n```\r\nhost: {\r\n '(keyup)': 'doSomethignElse'\r\n}\r\n```\r\nThe reason why this isn't working yet, is because there's no Custom Element equivalent of Angular's `@foo` events.\r\n\r\n## Expected behavior\r\n\r\nNot sure whether I'd expect this to be magically handled by Angular Elements, nor am I sure this is supposed to be supported eventually, but it definitely makes some components not work the way as expected when running them as Custom Elements. That's why I'm bringing this up here.\r\n\r\n## What is the motivation / use case for changing the behavior?\r\n\r\nWe might want Angular Elements to support Angular Animations as well. This affects many of Angular Material's components.\r\n","author":{"url":"https://github.com/0x-r4bbit","@type":"Person","name":"0x-r4bbit"},"datePublished":"2018-02-09T11:39:46Z","url":"https://github.com/angular/angular/issues/22117"}
| 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:93020102-c62c-7920-5651-636c2aa5a067 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | B192:2D96F1:12C9ED3:18E197D:6B011BFA |
| html-safe-nonce | 1c541357a9dec05bd85b7bdb970a5c10c60f37f961a74b35438304f1336f448e |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCMTkyOjJEOTZGMToxMkM5RUQzOjE4RTE5N0Q6NkIwMTFCRkEiLCJ2aXNpdG9yX2lkIjoiMjUzMDQ5Nzg4NTM4MDg3NzMwNiIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 6dc949ce00bea4c7752295853b03760e86f3c86366110e1624ebc9b943efe58a |
| hovercard-subject-tag | issue:295842572 |
| 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/22117/issue_layout |
| twitter:image | https://opengraph.githubassets.com/b7135e6368abec1d50528f81deb19920f3ee7fe826a4f4b6c7b1a3adc93bfac9/angular/angular/issues/22117 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/b7135e6368abec1d50528f81deb19920f3ee7fe826a4f4b6c7b1a3adc93bfac9/angular/angular/issues/22117 |
| og:image:alt | Regression (a behavior that used to work and stopped working in a new release) Bug report Feature request Documentation issue or request Support request Could be considered a bug, but also a featur... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | 0x-r4bbit |
| 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 |
Links:
Viewport: width=device-width