From c9229f3373d1bed76f5aeb750a66306c5532b7bf Mon Sep 17 00:00:00 2001 From: Luke Latham <1622880+guardrex@users.noreply.github.com> Date: Tue, 18 Jun 2019 12:54:08 -0500 Subject: [PATCH] Clarify conditional attributes (#12926) --- aspnetcore/blazor/components.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/aspnetcore/blazor/components.md b/aspnetcore/blazor/components.md index 73da47e3eb..511d07db60 100644 --- a/aspnetcore/blazor/components.md +++ b/aspnetcore/blazor/components.md @@ -667,11 +667,11 @@ Razor directives are shown in the following table. | [\@namespace](xref:mvc/views/razor#section-6) | Sets the namespace of the generated component class. | | [\@attribute](xref:mvc/views/razor#section-7) | Adds an attribute to the generated component class. | -**Conditional attributes** +**Conditional HTML element attributes** -Attributes are conditionally rendered based on the .NET value. If the value is `false` or `null`, the attribute isn't rendered. If the value is `true`, the attribute is rendered minimized. +HTML element attributes are conditionally rendered based on the .NET value. If the value is `false` or `null`, the attribute isn't rendered. If the value is `true`, the attribute is rendered minimized. -In the following example, `IsCompleted` determines if `checked` is rendered in the control's markup: +In the following example, `IsCompleted` determines if `checked` is rendered in the element's markup: ```cshtml