Skip to content

Commit be50436

Browse files
authored
Update template-syntax.md
The same is the variable name rather than the value of variable.
1 parent 5a1e8c2 commit be50436

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/guide/essentials/template-syntax.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ Attributes that start with `:` may look a bit different from normal HTML, but it
6868

6969
- Only supported in 3.4+
7070

71-
If the attribute has the same name with the JavaScript value being bound, the syntax can be further shortened to omit the attribute value:
71+
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:
7272

7373
```vue-html
7474
<!-- same as :id="id" -->

0 commit comments

Comments
 (0)