daffodil
daffodil copied to clipboard
Move `@HostBinding` and `@HostListener` decorators to use the `host` property
Summary
Move @HostBinding and @HostListener decorators to use the host property in @daffodil/design components.
Angular recommends: Always prefer using the host property over @HostBinding and @HostListener. These decorators exist exclusively for backwards compatibility.
Objectives
Things like classes and attributes should use the host property instead of decorators.
To-do:
- [x] Form Field
- [ ] Quantity Field [WIP]
- [x] Radio
- [ ] Checkbox/Checkbox Set
Blocked by review of #3818
- [x] Switch
Completed
- [x] Sidebar
- [x] Select
- [x] Textarea
- [x] Progress Bar
I'm interested in helping for hacktoberfest!
@stevenanthonyrevo assigned to you.