From f3fde4bbb57471251770094470b4cf6b18a0fb58 Mon Sep 17 00:00:00 2001 From: Sam Severance Date: Tue, 18 May 2021 09:32:02 -0400 Subject: [PATCH] docs: Add selector for `PeekABooDirective` (#42146) PR Close #42146 --- .../examples/lifecycle-hooks/src/app/peek-a-boo.directive.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/aio/content/examples/lifecycle-hooks/src/app/peek-a-boo.directive.ts b/aio/content/examples/lifecycle-hooks/src/app/peek-a-boo.directive.ts index 29f55b05cc..ef8e454409 100644 --- a/aio/content/examples/lifecycle-hooks/src/app/peek-a-boo.directive.ts +++ b/aio/content/examples/lifecycle-hooks/src/app/peek-a-boo.directive.ts @@ -5,7 +5,7 @@ import { LoggerService } from './logger.service'; let nextId = 1; // #docregion ngOnInit -@Directive() +@Directive({selector: '[appPeekABoo]'}) export class PeekABooDirective implements OnInit { constructor(private logger: LoggerService) { }