From e31208beb18c806f24a36afb4a1772c60ff525f8 Mon Sep 17 00:00:00 2001 From: Amadou Sall Date: Fri, 5 Jun 2020 11:49:20 +0200 Subject: [PATCH] docs: fix minor error in the "Structural directives" guide (#37452) The sample code used in this guide uses [class.od]="odd". But, in another portion of the guide, [ngClass]="odd" is mentioned instead. PR Close #37452 --- aio/content/guide/structural-directives.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/aio/content/guide/structural-directives.md b/aio/content/guide/structural-directives.md index 6f44eb3891..d1d23e6a99 100644 --- a/aio/content/guide/structural-directives.md +++ b/aio/content/guide/structural-directives.md @@ -251,7 +251,7 @@ You enable these features in the string assigned to `ngFor`, which you write in Everything _outside_ the `ngFor` string stays with the host element (the `
`) as it moves inside the ``. -In this example, the `[ngClass]="odd"` stays on the `
`. +In this example, the `[class.odd]="odd"` stays on the `
`.