Skip to content

Commit b5f41f2

Browse files
jainanuj0812IgorMinar
authored andcommitted
docs: fixed live example for the lifecycle hooks. (angular#23201)
PR Close angular#23201
1 parent 629629d commit b5f41f2

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

aio/content/examples/lifecycle-hooks/src/app/peek-a-boo-parent.component.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,7 @@ export class PeekABooParentComponent {
4343
this.heroName = 'Windstorm';
4444
this.logger.clear(); // clear log on create
4545
}
46+
this.hookLog = this.logger.logs;
4647
this.logger.tick();
4748
}
4849

0 commit comments

Comments
 (0)