From 7c3c8d6d10712c4374d1da2b49c2300ceb77e4a9 Mon Sep 17 00:00:00 2001 From: Qais Patankar Date: Wed, 4 Mar 2020 12:15:16 +0000 Subject: [PATCH] docs(common): fix selector field in NgIfAs example component (#35854) PR Close #35854 --- packages/examples/common/ngIf/ts/e2e_test/ngIf_spec.ts | 4 ++-- packages/examples/common/ngIf/ts/module.ts | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/packages/examples/common/ngIf/ts/e2e_test/ngIf_spec.ts b/packages/examples/common/ngIf/ts/e2e_test/ngIf_spec.ts index d09450b14d..1636b9e5c1 100644 --- a/packages/examples/common/ngIf/ts/e2e_test/ngIf_spec.ts +++ b/packages/examples/common/ngIf/ts/e2e_test/ngIf_spec.ts @@ -61,8 +61,8 @@ describe('ngIf', () => { }); }); - describe('ng-if-let', () => { - let comp = 'ng-if-let'; + describe('ng-if-as', () => { + let comp = 'ng-if-as'; it('should hide/show content', () => { browser.get(URL); waitForElement(comp); diff --git a/packages/examples/common/ngIf/ts/module.ts b/packages/examples/common/ngIf/ts/module.ts index b50113a0b0..535d90f655 100644 --- a/packages/examples/common/ngIf/ts/module.ts +++ b/packages/examples/common/ngIf/ts/module.ts @@ -75,7 +75,7 @@ export class NgIfThenElse implements OnInit { // #docregion NgIfAs @Component({ - selector: 'ng-if-let', + selector: 'ng-if-as', template: `
@@ -112,7 +112,7 @@ export class NgIfAs {

- +
` })