Skip to content

Commit 535a48d

Browse files
committed
2.6: make dynamic argument constraint more noticable
1 parent 1f5b2c9 commit 535a48d

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/v2/guide/syntax.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -152,7 +152,9 @@ Dynamic argument values are expected to be strings, with the exception of `null`
152152

153153
#### Dynamic Argument Expression Constraints
154154

155-
When using dynamic arguments, it is important to remember that HTML attribute names cannot contain spaces or quotes. For example, the following is invalid:
155+
<p class="tip">Dynamic argument expressions have some syntax constraints because certain characters are invalid inside HTML attribute names, in particular spaces and quotes.</p>
156+
157+
For example, the following is invalid:
156158

157159
``` html
158160
<a v-bind:['foo' + bar]="value"> ... </a>

0 commit comments

Comments
 (0)