-
Notifications
You must be signed in to change notification settings - Fork 26.6k
Closed
Labels
P3An issue that is relevant to core functions, but does not impede progress. Important, but not urgentAn issue that is relevant to core functions, but does not impede progress. Important, but not urgentarea: coreIssues related to the framework runtimeIssues related to the framework runtimecore: host and host bindingsfreq2: mediumstate: has PRtype: bug/fix
Milestone
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/angular/angular/blob/master/CONTRIBUTING.md#question
Current behavior
Placing a host listener on a structural directive doesn't work (no error, nothing).
Expected behavior
We should be able to use HostListener. Or it should throw a meaningful error if it's expected behavior.
Minimal reproduction of the problem
http://plnkr.co/edit/VOmMkLWSEVONy3cKXZJq?p=preview
Please tell us about your environment:
- Angular version: 2.4.4
- Browser: Chrome 54
- Language: TypeScript
n9niwas
Metadata
Metadata
Assignees
Labels
P3An issue that is relevant to core functions, but does not impede progress. Important, but not urgentAn issue that is relevant to core functions, but does not impede progress. Important, but not urgentarea: coreIssues related to the framework runtimeIssues related to the framework runtimecore: host and host bindingsfreq2: mediumstate: has PRtype: bug/fix