Skip to content

Commit 8d8526f

Browse files
Revert "Document v-bind.attr shorthand in API section. (#1571)"
This reverts commit 1a52ccb.
1 parent 60d67b0 commit 8d8526f

File tree

1 file changed

+2
-5
lines changed

1 file changed

+2
-5
lines changed

src/api/built-in-directives.md

+2-5
Original file line numberDiff line numberDiff line change
@@ -319,16 +319,13 @@ Dynamically bind one or more attributes, or a component prop to an expression.
319319
<svg><a :xlink:special="foo"></a></svg>
320320
```
321321

322-
The `.prop` and `.attr` modifiers also have a dedicated shorthand, `.` and `^` respectively:
322+
The `.prop` modifier also has a dedicated shorthand, `.`:
323323

324324
```vue-html
325325
<div :someProperty.prop="someObject"></div>
326+
326327
<!-- equivalent to -->
327328
<div .someProperty="someObject"></div>
328-
329-
<div :someProperty.attr="someString"></div>
330-
<!-- equivalent to -->
331-
<div ^someProperty="someString"></div>
332329
```
333330

334331
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)