-
Notifications
You must be signed in to change notification settings - Fork 26.6k
Open
Labels
P4A relatively minor issue that is not relevant to core functionsA relatively minor issue that is not relevant to core functionsarea: coreIssues related to the framework runtimeIssues related to the framework runtimecore: ng-template and *microsyntaxfeatureIssue that requests a new featureIssue that requests a new featurefeature: under considerationFeature request for which voting has completed and the request is now under considerationFeature request for which voting has completed and the request is now under considerationfreq1: low
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
When using sugar syntax I couldn't find a way to register to @Output
s.
The 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.
I would also like to point out that exportAs
is not supported in * directives.
Expected behavior
Allow to register to events on the directive.
What is the motivation / use case for changing the behavior?
Sugared directives should be on par with regular directives (@Output
, exportAs
) as it might cause confusion.
At least support parsing output's on the expression.
- Angular version: 2.0.1
dtgriscom, youdz, trotyl, splincode, AlexKhymenko and 40 more
Metadata
Metadata
Assignees
Labels
P4A relatively minor issue that is not relevant to core functionsA relatively minor issue that is not relevant to core functionsarea: coreIssues related to the framework runtimeIssues related to the framework runtimecore: ng-template and *microsyntaxfeatureIssue that requests a new featureIssue that requests a new featurefeature: under considerationFeature request for which voting has completed and the request is now under considerationFeature request for which voting has completed and the request is now under considerationfreq1: low