You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This works as intended, even thought it is confusing. That is because <div (selected-value)="..."> binds to what event? Because we don't have casing in HTML, we have to assume that it binds to selectedValue event since that is the convention we use for converting skewer-case to camelCase. Therefore ['valueUpdate: selectedValue'] is correct.
I understand it is correct. It is about consistency.
I just think that an alias to a property should be similar to an event.
An alias works as an outside way to use a property.
In property aliases we use the hyphens and works.
Not the case with events. We need the alias to be camel case.
Hi everyone!
Properties and Events have different alias behaviour.
If I want to alias a property with hyphens I use:
But If I want to alias an event with hypens:
Working plnkr: http://plnkr.co/edit/TnUqxetDhbgcO1ZEX63U?p=preview
Best regards,
Tiago Braga
The text was updated successfully, but these errors were encountered: