From be5043601f835ded5614d5bf2bb8256ea8ca82d5 Mon Sep 17 00:00:00 2001 From: wuyuansushen <43259764+wuyuansushen@users.noreply.github.com> Date: Thu, 17 Apr 2025 15:37:46 +0900 Subject: [PATCH] Update template-syntax.md The same is the variable name rather than the value of variable. --- src/guide/essentials/template-syntax.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/guide/essentials/template-syntax.md b/src/guide/essentials/template-syntax.md index 56a7c7b5f1..cf20d14e5a 100644 --- a/src/guide/essentials/template-syntax.md +++ b/src/guide/essentials/template-syntax.md @@ -68,7 +68,7 @@ Attributes that start with `:` may look a bit different from normal HTML, but it - Only supported in 3.4+ -If the attribute has the same name with the JavaScript value being bound, the syntax can be further shortened to omit the attribute value: +If the attribute has the same name as the variable name of the JavaScript value being bound, the syntax can be further shortened to omit the attribute value: ```vue-html