docs: fix the selector in component interaction guide (#42891)

The selector for the `CountdownTimerComponent` is `app-countdown-timer`
not `countdown-timer`.

PR Close #42891
This commit is contained in:
Yuvaraj 2021-07-19 13:38:31 +05:30 committed by Dylan Hunn
parent 816ba07351
commit 271700cbb6
1 changed files with 1 additions and 1 deletions

View File

@ -258,7 +258,7 @@ The `CountdownLocalVarParentComponent` that hosts the timer component is as foll
The parent component cannot data bind to the child's
`start` and `stop` methods nor to its `seconds` property.
You can place a local variable, `#timer`, on the tag `<countdown-timer>` representing the child component.
You can place a local variable, `#timer`, on the tag `<app-countdown-timer>` representing the child component.
That gives you a reference to the child component and the ability to access
*any of its properties or methods* from within the parent template.