docs: Clarify sentence in attribute-directives.md

(cherry picked from commit 3cad0d644e)
This commit is contained in:
Jef
2026-02-11 17:50:22 +01:00
committed by Matthew Beck
parent 55b501a8f8
commit a3ffef2556
@@ -121,7 +121,7 @@ This section guides you through configuring your application so the developer ca
<docs-code header="highlight.directive.ts (mouse-enter)" path="adev/src/content/examples/attribute-directives/src/app/highlight.directive.ts" region="mouse-enter"/>
3. To bind to the `AppComponent.color` and fall back to "violet" as the default color, add the following HTML.
In this case, the `defaultColor` binding doesn't use square brackets, `[]`, because it is static.
In this case, the `defaultColor` binding doesn't use square brackets, `[]`, because the value is a static string, not a dynamic expression.
<docs-code header="app.component.html (defaultColor)" path="adev/src/content/examples/attribute-directives/src/app/app.component.html" region="defaultColor"/>