mirror of
https://github.com/angular/angular
synced 2026-05-24 09:28:37 +00:00
Aside from using the @input() decorator, we can use the @Attrbitute decorator too. Of course, those two are different and support different causes. I expected to see a working example on the Attribute Bindings section, but I didn't find one. This PR depicts the usage of the Attribute decorator between two components PR Close #38721 |
||
|---|---|---|
| .. | ||
| app | ||
| index.html | ||
| main.ts | ||