(Angular 2 RC4)
With @HostBinding we should be able to modify properties of the host, right? My question is, does this apply to @Input() properties as well and if so
@HostBinding() doesn't create property bindings to properties of the host component. That might be worth a bug report though ;-)
I got it working by a workaround with exportAs and a template variable but that is quite ugly. https://plnkr.co/edit/TobNVn?p=preview
After some consideration, I think it should work. Otherwise I wouldn't know what @HostBinding() src; would do at all.
@HostBinding('attr.src') src; or @HostBinding('class.src') src; are the more common cases.