Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Notice the property name pickedHero ties to the property in the class at line 12.

Info
titleNote

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.