Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use HostBinding/HostListener instead of host property #52

Open
cm0s opened this issue Apr 16, 2016 · 0 comments
Open

Use HostBinding/HostListener instead of host property #52

cm0s opened this issue Apr 16, 2016 · 0 comments

Comments

@cm0s
Copy link

cm0s commented Apr 16, 2016

I'm not really fond of this recommandation.

Look at this code :
https://github.com/angular/material2/blob/master/src/components/checkbox/checkbox.ts

Having to declare all the properties set in the host property will make the code far less readable.

Well, perhaps it's just a matter of taste.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant