docs: fixed live example for the lifecycle hooks. (#23201)
PR Close #23201
This commit is contained in:
parent
629629d1bd
commit
b5f41f2c35
|
@ -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…
Reference in New Issue