docs(template-syntax): typo

closes #627
This commit is contained in:
Elior Boukhobza 2015-12-30 21:47:51 +02:00 committed by Ward Bell
parent 240a0dc457
commit ac8b87eb5e
1 changed files with 1 additions and 1 deletions

View File

@ -578,7 +578,7 @@ code-example(format="", language="html").
Now imagine a parent component that listens for that event with an Event Binding.
+makeExample('template-syntax/ts/app/app.component.html', 'event-binding-to-component')(format=".")
:marked
The event binding surfaces the *hero-to-delete* emitted by `HeroDetail` to the expression via the `$hero` variable.
The event binding surfaces the *hero-to-delete* emitted by `HeroDetail` to the expression via the `$event` variable.
We pass it along to the parent `onHeroDeleted()` method.
That method presumably knows how to delete the hero.