docs(core): fix typo in the "Template statements" guide (#39244)
PR Close #39244
This commit is contained in:
parent
34dbba4a90
commit
178a0437b7
|
@ -14,7 +14,7 @@ In the following example, the template statement `deleteHero()` appears in quote
|
|||
|
||||
<code-example path="template-syntax/src/app/app.component.html" region="context-component-statement" header="src/app/app.component.html"></code-example>
|
||||
|
||||
When the user clicks the **Delete hero** button, Angular calls the `deleteHero()` function in the component class.
|
||||
When the user clicks the **Delete hero** button, Angular calls the `deleteHero()` method in the component class.
|
||||
|
||||
You can use template statements with elements, components, or directives in response to events.
|
||||
|
||||
|
|
Loading…
Reference in New Issue