...
Notice the property name pickedHero ties to the property in the class at line 12.
Info | ||
---|---|---|
| ||
What's really cool about this is the way in the which the two-way bind [[property]]="other property" works. If you change something in either parent or child, it is immediately reflected in the counter property. |