Skip to content

Commit 84cc395

Browse files
Update src/api/built-in-directives.md
Co-authored-by: skirtle <[email protected]>
1 parent c9c7b62 commit 84cc395

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/api/built-in-directives.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -326,9 +326,9 @@ Dynamically bind one or more attributes, or a component prop to an expression.
326326
<!-- equivalent to -->
327327
<div .someProperty="someObject"></div>
328328
329-
<div :someProperty.attr="someObject"></div>
329+
<div :someProperty.attr="someString"></div>
330330
<!-- equivalent to -->
331-
<div ^someProperty="someObject"></div>
331+
<div ^someProperty="someString"></div>
332332
```
333333

334334
The `.camel` modifier allows camelizing a `v-bind` attribute name when using in-DOM templates, e.g. the SVG `viewBox` attribute:

0 commit comments

Comments
 (0)