diff --git a/aio/content/examples/event-binding/src/app/app.component.ts b/aio/content/examples/event-binding/src/app/app.component.ts index 69a76d6669..e8e7882d89 100644 --- a/aio/content/examples/event-binding/src/app/app.component.ts +++ b/aio/content/examples/event-binding/src/app/app.component.ts @@ -18,7 +18,7 @@ export class AppComponent { } deleteItem(item: Item) { - alert(`Delete the ${item}.`); + alert(`Delete the ${item.name}.`); } onClickMe(event?: KeyboardEvent) {