docs: fixed live example for the lifecycle hooks. (#23201)
PR Close #23201
This commit is contained in:
parent
a50ce6568a
commit
a1231bed9c
@ -43,6 +43,7 @@ export class PeekABooParentComponent {
|
||||
this.heroName = 'Windstorm';
|
||||
this.logger.clear(); // clear log on create
|
||||
}
|
||||
this.hookLog = this.logger.logs;
|
||||
this.logger.tick();
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user