Skip to content

Commit f73caa0

Browse files
amatechachrisvfritz
authored andcommitted
Update syntax.md (vuejs#970)
Ultra-minor change to Attributes example so the button visibility condition better describes its boolean nature :)
1 parent 309480d commit f73caa0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/v2/guide/syntax.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ Mustaches cannot be used inside HTML attributes, instead use a [v-bind directive
5151
It also works for boolean attributes - the attribute will be removed if the condition evaluates to a falsy value:
5252

5353
``` html
54-
<button v-bind:disabled="someDynamicCondition">Button</button>
54+
<button v-bind:disabled="isButtonDisabled">Button</button>
5555
```
5656

5757
### Using JavaScript Expressions

0 commit comments

Comments
 (0)